I\'ve got a question about a particularly annoying error that I haven\'t been able to figure out, much less overcome. Any time I try to run a Java applet (Applet or JApplet) on
I suggest that you read the Oracle Applet Development Tutorial. I'm not an expert on applets (understatement!) but you seem to be doing a lot of things differently to how the Tutorial says to do them. For instance, you don't use a main
method to launch an applet, and you should be doing the setup in the init
method not the constructor (see here).