• Post Reply Bookmark Topic Watch Topic
  • New Topic

Running JApplet in IE

 
arun mahajan
Ranch Hand
Posts: 305
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I think I got stuck with a prblem for which I am not able to find solutions.
I have made a JApplet and now found that IE does not suppport for it (How foolish I am that I haven't checked earlier). Now to make it run on IE I think I have following option:-
1. To ask user to download the plug-in to make the browser compatible for it. My Management is not allowed for this. So this option is of no use for me.
2. I found some posting on web suggesting to put the swingall.jar as part of my applet,. Though this also is a very big file, but even than not able to find the exact path whereby we can download this.
Can somebody help me for following:-
1. Give me the path to download the so called swngall.jar file.
2. Any other better solution to make my JApplet running on IE.
Regards,
arun
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You actually have 3 choices...

1.) Use the Java 2 Plugin.
2.) Include swingall.jar (not recommended... if the user installs the Java 2 Plugin they only have to download it once. If you use swingall.jar the user has to download a 2.3MB file every time they clear their cache! :roll: )
3.) Redesign your applet using the Applet class and making sure you are only using classes available in the JDK 1.1.8 (this is the only real choice if you choose not to use the Java 2 Plugin.)
 
Guru Gulab Khatri
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With the introduction of swing and the JApplet class the use of applet tag is not done.
The <object> tag of html is used.
But you don't need to wory about the object tag.
If you have Java2 ver 1.4, you might have got a utility called as htmlconverter which is there in the bin folder where javac and java commands are existing.
You can use this utility to convert the html <applet> tag to <Object> tag
If you find any problem send me a message. I will reply to it
This is Ashish
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might also look into JavaWebStart.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!