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 146305 - Rename of action handler method does not work.
Summary: Rename of action handler method does not work.
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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-05 11:44 UTC by Jan Jancura
Modified: 2008-09-08 13:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Jancura 2008-09-05 11:44:16 UTC
1) Create some form (JFrame).
2) add JButton there
3) Generate actionPerformed (...) handler (popup menu on JButton > Events > Actions > ...)
4) switch to text editor put cursor on xxxactionPerformed method name
5) try to rename method (Ctrl+R)
>
It looks like that rename feature is supported, but new name is not used. We should fix rename action, or it should be
disabled in this case, or some message should inform user, that rename is not supported in this case.
Comment 1 Jan Stola 2008-09-08 13:48:16 UTC
This is one of known limitations of refactoring support in GUI builder. See issue 106831 and section 'Rename event 
handler method in the form class' in http://wiki.netbeans.org/GUIBuilderRefactoring

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