Applet works in NetBeans but not outside of it

I have been working on an applet that accesses a database and interactively allows users to chose which sets of data to display in tabular or graphical form, and it works in NetBeans but when I try to run even the html code that NetBeans provides for it, i get the following error:

java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group

at java.lang.Class.getDeclaredConstructors0(Native Method)

at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)

at java.lang.Class.getConstructor0(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

I looked at other forums and I have NetBeans 5.5 so the swing-layout-1.0.jar library is in the program. I looked in the org/jdesktop/layout/ folder, which is inside a zipped folder, and couldnt find the GroupLayout$Group file. Also, probably because of this, running the jar file that NetBeans creates yeilds a Fatal Error.

Is there a way to fix this?

Thanks

[1321 byte] By [mtb70mpha] at [2007-11-27 9:03:42]
# 1
an applet by default cannot contain Swing components. If you want to utilize Swing components in your applet, you must create it as a subclass of JApplet. :) http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html
lem@phila at 2007-7-12 21:35:59 > top of Java-index,Desktop,Core GUI APIs...
# 2
Mine does extend javax.swing.JApplet though.
mtb70mpha at 2007-7-12 21:35:59 > top of Java-index,Desktop,Core GUI APIs...