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.
The code generated by the gui builder should be separated into one abstract class with the listener functions as abstract methods. The users code should then be a subclass. If you do not like inheritance in that way composition would be equally appropriate. There are several advantages in this approach: 1. User code can be modified within any editor without having to worry to modify the generated comments. 2. Smaller classes (clearer code / easier to modify) 3. Reusability of generated code