I had written a Swing Java file that displays a javax.swing.JFrame by hand, text editor. This Java file works.
Recently I decided to re-write the application as a NetBeans project and in the process I recreated the JFrame, again it works in NetBeans environment, no errors, no problem. I then did a build and tried to run the generated "jar", at this time the following error occurred.
Exception in thread "main" java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group
I changed the project properties to run the original JFrame that I had written by hand and it worked both within the environment and from the "jar".
The new JFrame version does reference some other class files within the project, but usually incorrect references appear.....
- Any ideas how to address this little problem ?
- What would I focus on to work this/these type of issues out ?
Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Linux version 2.6.18.8-0.1-default running on i386; UTF-8; en_US (nb)
Userdir: /home/scooter/.netbeans/6.1
I am sure that this is another silly programmer issue.
By the way Hi folks

TIA
scott