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.

Bug 245274 - Rescan required to see new methods in JavaBean event listeners
Summary: Rescan required to see new methods in JavaBean event listeners
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2014-06-26 16:47 UTC by stevensrmiller
Modified: 2014-07-14 13:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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.