java.lang.NoClassDefFoundError
I just wrote a JApplet which works pefectly when put in a JFrame, but not on my website.
I get the error:
java.lang.NoClassDefFoundError: gui/Login$1
at gui.Login.<init>(Login.java:16)
at gui.MainScreen.init(MainScreen.java:19)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
This occurs at the first line of the following code:
addMouseListener(new MouseAdapter(){// LINE 16
publicvoid mousePressed(MouseEvent e){
background =new Color(rand.nextInt(255),rand.nextInt(255),rand.nextInt(255));
repaint();
}
});
The above code occurs in the constructor of my Login class.

