Runninh Applet in Broswer
1 posts in topic
Flat View  Flat View

Posted By:   khad_m
Posted On:   Saturday, November 2, 2002 05:26 AM

Hi Friends,
Hope all are fine.
Here is my question follows.
I have swing applet java program and a corresponding html file.

Iam able to run the program by using the following command.

"appletviewer javafilename.html"

But the same program when iam trying to run by browsing html file in IE brower the applet is not getting loaded....In the status bar it is showing that

Iam really wondering how to run the swing applet from browser....!!!!

Re: Runninh Applet in Broswer

Posted By:   Brian_Glodde  
Posted On:   Sunday, November 3, 2002 08:58 PM

The Swing classes have many interdependencies. Putting everything in a jar will probably be too big of a download for your users.

The only way to get it to work is to :

  - make sure that the swingall.jar is on the users system and in their CLASSPATH, or

  - provide the swingall.jar in addition to any other JAR files you use in your Applet tag, or

  - have your users use the Java-Plugin for IE or NS.

Hope that helps!

About | Sitemap | Contact