I have created compiled and run many
Java programs, but this is my first
applet. I am doing a project for school basically to connect a DB to a java applet. I have the class set up and when I run through Netbeans "Run File" It works perfectly. I am able to connect to the DB... no issues at all. So now I just need it to work through an HTML window... This is where my issue starts. I have tried to read as much about applets as I can but still do not understand a lot of what I read.
When I run the applet through an HTML window I get the error: java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
The .html file I am using is the one in the project/build folder under the default netbeans project structure.
I have confirmed that the following path is correct. (<APPLET codebase="classes" code="DBapp/appletgui.class")
Also, I am using swing-layout-1.0.4.jar I think this might be part of my problem.