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.
Product Version = NetBeans IDE 7.1 (Build 201112071828) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0_02 Runtime = Java HotSpot(TM) Client VM 22.0-b10 I made a JDialog Swing form added a JTabbedPane and a JButton. In the source view I did ctrl-R to rename the JButton from the default value jButton1 to "okButton" - this worked. I then did the same thing to rename the field for jTabbedPane1, the rename dialog was activated as normal, and when I pressed OK I didn't get any error message, but the position in the editor changed and when I went back to see the variables, the jTabbedPane1 variable was not renamed. I repeated this three times with the same effect.
Note that the rename works when done from the Design view. I was using the Source view when this failed for jTabbedPane1 and also when it succeeded for jButton1
I am able to reproduce this issue in NetBeans 7.1.2 but it seems to work correctly in the lastest development build. So, it was fixed probably by some other change.