Running Swing applets in IE or Navigator
Posted on 1998-07-06
I have a problem running HTML pages containing the APPLET-tag which causes to run an applet using Swing.
My program works well in the AppletViewer but ti does not in Internet Explorer(4.0) nor in Netscape Navigator(4.05).
How can I solve this problem?
In the AUTOEXEC.BAT I have set the following environment variables:
...but how can a user run my JApplet in a browser? Must he set some environment variables, too?
I think that a user just wants to start the browser and then wants the applets run! ->Without setting any viariables!
I even copied the swingall.jar file to the C:\Windows\java\classes directory and to the java\classes directory of the Communicator:
Communicator shows: "error:java.lang.NoSuchMethodError: java.awt.Component: method enableEvents(J)V not found"