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 71696 - Refactor does not work
Summary: Refactor does not work
Status: RESOLVED DUPLICATE of bug 48288
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-20 22:38 UTC by abumujahed
Modified: 2006-01-22 18:21 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 abumujahed 2006-01-20 22:38:02 UTC
I am running on Solairs Sparc JDK 1.5 update 5
2GB ram
NB 5 RC1

the issue:
I have a JTextField called txtFoo
i used the text field inside the code.

I want to refactor the name from txtFoo to txtBar
in  the UI, i can change the name
the name changes are only in effect in the blue blocked area, but the old name
is used across the code.  i.e it refactored only the decleration, but not the
rest of the code.

so, i reset the name to txtFoo.

Now, in the source code, highlight txtFoo and right click, and select refactor.
change the name to txtBar.
It works, but not all the way!
I still need to go to the visual form and then rename the property manually!

the refactor in either direction should work in one step.  Bug!
Comment 1 Marek Grummich 2006-01-22 18:21:13 UTC
It's a known behaviour/bug, look at #48288

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