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 146306 - Rename does not work for event handler parameters.
Summary: Rename does not work for event handler parameters.
Status: RESOLVED DUPLICATE of bug 106831
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2008-09-05 11:48 UTC by Jan Jancura
Modified: 2008-09-08 13:49 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 Jan Jancura 2008-09-05 11:48:31 UTC
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 >
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...
Comment 1 Jan Stola 2008-09-08 13:49:09 UTC
This is one of known limitations of refactoring support in GUI builder. See issue 106831 and section Rename event 
handler parameter' in

*** This issue has been marked as a duplicate of 106831 ***