I'm trying to put my JApplet on a webpage. This is the first time I'm actually trying to put something outside of Eclipse other than a couple of random jar files (yeah I'm that new). So anyway, this is the code I used but I keep getting java.lang.NoClassDefFoundError. The applet won't load. :(
code = "Driver.class"
codebase = "http://www.freewebs.com/andrewm16921/FallingSand/"
width = 400
height = 450>
SandPanel is a JPanel, and I've uploaded those and the approximately 20 other classes into the directory http://www.freewebs.com/andrewm16921/FallingSand/
public class Driver extends JApplet
private final int WIDTH = 400, HEIGHT = 450;
public void init()
(You can also click there to see the problem in index.html).