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 75187

Summary: Changing "Variable Name" should trigger rename refactoring
Product: guibuilder Reporter: Pavel Buzek <pbuzek>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Pavel Buzek 2006-04-18 20:25:10 UTC
I wanted to change a variable name of a UI component (JTextField, JButton,..)
that is also used in my hand written code (e.g. event handlers). I have to
change it in the property sheet and then do find/replace. When I tried
refactoring on the field (in guarded block) the refactoring was enabled and
changed all the references to the variable but not the variable declaration
itself. IMO the property change should automatically start a refactoring.
Refactoring in the code should change the property on the form.
Comment 1 Tomas Pavek 2006-08-09 14:19:24 UTC

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