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.
1. create a JavaBean-Gui Component in package foo (i.e. JP exends JPanel) 2. add Bean to Palette 3. create Gui Component (i.e. NewJFrame) and add JP to it 4. close NewJFrame 4. refactor package foo to foo2 5. clean & build project 6. open NewJFrame Warning: Errors occured in loading the form data. [....] Information: Error in loading component: [JFrame]->jP1 Cannot load component class foo.JP The component cannot be loaded Opening the .form file in a TextEditor shows the problem: package foo wasn't renamed to foo2 After renameing the package foo to foo2 in the.form file, everything works fine again. Refactoring the ClassName doesn't seem to produce the error. Expected behaviour: refactoring should also change the .form file
Reproducible.
Reproducible in 6.1, but works in current 6.5 dev builds. I think it was fixed by issue 131668. Renaming a package was not reflected in forms that are not in that package. If you can, please verify with some 6.5 build. Thanks *** This issue has been marked as a duplicate of 131668 ***