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 107414

Summary: Refactoring doesn't rename variables which are in event handlers - form
Product: java Reporter: Jana Maleckova <janie>
Component: RefactoringAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jana Maleckova 2007-06-20 12:45:27 UTC
Product Version: NetBeans IDE Dev (Build 200706200326) Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Userdir: D:\userdir60

Description:
============
It's related to form class which contains guarded blocks.
1. create form class and insert e.g. jButton
2. set some action performed event on this button and go to source
3. define some global variable and use it in action method
4. do refactoring - rename of this variable
Result: everywhere where global variable is used, renaming is done correctly but nothing happens in action performed
method. Name of variable is not changed there.
Comment 1 Jana Maleckova 2007-06-20 12:57:51 UTC
sorry for another duplicate ... but one losts overview of a plenty created issues 

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