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.
I created innocentFrame.java from the "New JFrame Form" in the editor. Add nothing to it, save it, and add it to the palette manager using add from the library. When the innocentFrame is dragged to the design view of another JFrame, an error message is shown: "The component cannot be instantiated. Please make sure it is a javabean.".
Created attachment 49632 [details] /var/log/Messages.log
The JFrame form has the defaultCloseOperation property set to EXIT_ON_CLOSE. Such a frame can't be instantiated in the IDE because it could exit the entire JVM. For reusable frames set the property to something else, e.g. DISPOSE. *** This issue has been marked as a duplicate of 108282 ***