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.
Greetings, I've found an error in the IDE's GUI editor, when I copy buttons from one form to another and those buttons have some action asociated with it. In the running software, the action calls a method within the same class, but if I double click the button or try to edit the action's method in the IDE, it automatically opens the class where the button was originally created. I'll give an example for better understand: I create form1, with JButton1 asociated to method public void save() I then create form2, and copy JButton from form1. In the running application, clicking form2's button it calls form2 save method, but in the IDE, if I try to edit form2 button action, it automatically opens save method on form1.
*** Issue 166196 has been marked as a duplicate of this issue. ***
Reproducible. The problem seems to be ProxyAction.copy(). It doesn't handle copying into other forms correctly.