Problems with the drag and drop facility while using the GUI interface
I'm using the GUI interface for Netbeans 7.1, but I'm having problems with the drag and drop facility.
I have made two JPanels (ParentPanel & ChildPanel). I used a simple JLabel on each one to identify them, but when I try to drag and drop the childpanel into the ParentPanel, an error is shown, saying that it is unable to add.
I tried reverting back to an older version of Java and creating a new project. Then, I was able to drag the ChildPanel without any problems onto the ParentPanel.
Please see the screenshots.
Does Java 7 have known compatibility problems with GUI interfaces?
Information: Cannot load component class test.ChildPanel from project: D:projectsSwingBugExample.
The class must be compiled and must be on the classpath of the project to which this form belongs.