NetBeans 6.0 RC2, Windows Vista.
Create JDialog form and name it MyDialog for example. Create private method MyDialog.MyMethod. Put JComboBox control in
to MyDialog and add 'MyMethod();' as Post-Creation Code in form editor for JComboBox control. Switch to source code, hit
the right mouse button on MyMethod() and rename it (Refactor -> Rename) to MyRefactoredMethod(). MyMethod() is
successfully renamed to MyRefactoredMethod(), but the MyMethod() in JComboBox's Post-Creation Code is not modified -
still contains call to MyMethod() -> after refactoring, I'm unable to compile my code.
IMHO MyMethod() call should be changed to MyRefactoredMethod() call in Post-Creation Code too.
This is one of unsupported refactoring scenarios in GUI Builder.
See issue 106831 (Updating embedded custom code - entered by the user in the GUI builder).
*** This issue has been marked as a duplicate of 106831 ***