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.
Adding an component to a form, say a JTable, generate the corresponding "generated code" with jTable1 as component name. Then, some code is added by hand referencing that component, for instance : jTable1.setAutoresizeMode(0); If the component is clicked, in Visual Editor, and renamed it is renamed only in the "guarded code" portion of source code and remains with the old name in the rest, signaling an "cannot find symbol" error. As an enhancement, rename action should find and rename, maybe with some confirmation dialog, in all source code, not only in "guarded code" portion. Similarly, refactoring should let the user choose if want or not to make modification on "guarde code". If yes, should modify accordingly the underlying .form file.
Though I am marking this as a dup, you may want to VOTE for the issue 48288. Voting signals that users care about the issue and want to see it resolved *** This issue has been marked as a duplicate of 48288 ***