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.
Every once in a while, I have the need to replace one component with another one. Obviously, the new component implements the same interface as the one I want to replace and so I want to keep all the events and property settings as the old component. For instance, I create a new component which extended JTextField and would have like to do a global search and replace of all JTextField components with my new and improved component. Currently the only work around is to go outside of NetBeans, into a normal text editor and search and replace inside of it in both the .java and .form files. It would be nice if I could make this change inside of NetBeans. Delphi has this ability if you want to look at an example of how it could be done. They have a wizard that asks you for the old and the new component and then does the search and replace in the current file only or in all project files depending upon what you select. Thanks
What Brent wants is one of possible Java refactoring features. Changing component to Java.
*** Issue 92398 has been marked as a duplicate of this issue. ***
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss