This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. Create JFrame using New From Template. 2. Change declaration of this class so as to implements some interface. For example: public class MyFrame extends javax.swing.JFrame implements MyInterface 3. Use pop-up menu Tools | Synchronize 4. initComponents is offered to update, instead of adding method from interface. Pressing Process button causes overwrite of initComponents method.
Methods in guarded blocks will not be overwritten even if confirmed by the user. However, Synchronization may still propose changing those methods.
The status is still the same; better resolution is to provide some user interface to choose the target method among a collection of candidates (+ possible options for candidate selection) or create a new one.
After the guarded block checking, the bugreport is basically a request for enhancement in synchronization handling - that is specifically covered in #6323
Resolved for 3.3.x or earlier, no new info since then -> closing.
Resolved for 3.4.x or earlier, no new info since then -> closing.