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.
|Summary:||Rescan required to see new methods in JavaBean event listeners|
|OS:||Windows 7 x64|
|Issue Type:||DEFECT||Exception Reporter:|
Description stevensrmiller 2014-06-26 16:47:54 UTC
After creating a new JavaBean and its EventListener and EventObject subclasses, it is possible to see the methods in the EventListener class by dropping an instance of the bean onto a JFrame in the IDE, then right-clicking on the bean in the Navigator, and choosing Events/<event name>. However, after closing the JFrame in the editor, opening the EventListener class, adding a new method to that class, saving it, and reopening the JFrame, right-clicking on the bean in the Navigator and choosing Events/<event name> does not show the newly added method. To see it, NetBeans must lose and regain the focus while the JFrame file is closed, or Source/Scan for External Changes must be chosen while the JFrame file is closed. Saving changes to the EventListener for a JavaBean should cause rescanning automatically.