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: | Rename does not work for event handler parameters. | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Jan Jancura <jjancura> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
This is one of known limitations of refactoring support in GUI builder. See issue 106831 and section Rename event handler parameter' in http://wiki.netbeans.org/GUIBuilderRefactoring *** This issue has been marked as a duplicate of 106831 *** |
1) Create some form (JFrame) 2) add JButton there 3) Generate add actionPerformed(java.awt.event.ActionEvent evt) {} event handler there (popup menu on JButton > Events > Actions...) 4) write System.out.println (evt); 5) try to rename evt variable (Ctrl-R) > second usage of evt variable is renamed only. Code is broken...