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.
It is too easy to create spurious event methods in form code just by double clicking on a component on your form. It needs to be easier to remove these unwanted methods. For example, you should be able to clear out the event handler name in the properties sheet on the "Events" tab in order to remove the method from the code. Currently, you must click the ... button and then select the method name, then click the Remove button, the OK button and then the OK button on the warning message that appears. It would be fine to have a warning message when you clear out the event handler name in the properties sheet, but the warning should really only appear if there is code in the method that you're going to delete. Otherwise, the message is not necessary.
*** Bug 7746 has been marked as a duplicate of this bug. ***
Next problem is with work with event ( rename, add , remove ) , here is some problems , if you open Handlers dialog for event( you must click ... button) , you will see table with name of handlers, if you rename some handler and its new name is "aaaaaaaaaaaaa" and after change, you rename again the same handler as "bbbbbbbbbbbb" and click the OK button , you obtain Null Pointer Exception. And next problem is conformable if you first rename handler and remove the same handler , the handler is removed from table in Handler event window, and if you click the OK button , in the Source editor is handler only renamed.
Created attachment 378 [details] Error log for Null Pointer exception
Fixed in main trunk and release31 branch.
verified in [main-trunk](91) and [release31](30) part of rename Event Handlers still open in version : FFJ20
BUG also appears in version : FFJ20
Resolved for 3.3.x or earlier, no new info since then -> closing.