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.
Using cut & paste with a button object in the IDE, the automatically added event for a button does not use the button name if it is renamed, but will use the original and suffix "1", or concatenate the names and add "1". Thus, a button named "btnAdd" that is pasted and renamed "btnMinus" will have an event added named "...btnAddbtnMinusActionPerformed..." with some number of "1"'s suffixed. Refactor won't change it because it's readonly. An option to allow editing of the originally readonly lines would be a nice solution.