• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet loading from another applet does not work on IE.

 
prithvi s zankat
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

I am trying to launch an applet from another applet. When run such applet from Mozilla Firefox, it runs without any problem, but when I try it on IE (IE7 on XP), it does not work. I mean one applet get executed but it's not launching another applet. The pack of .class files and html file can be found at 'http://www.geocities.com/prithvi2007/testQuick.zip' for test. The source file is available at 'http://www.java-tips.org/java-se-tips/java.applet/have-an-applet-launch-another-applet.html'.

The strange thing that I have noticed is that when I run the same html file from the editPlus, it runs fine although editPlus is using same IE7 browser of the machine.

Kindly help me with your kind suggesion.

Thanks,
prithvisinh zankat.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a hack. I wouldn't want to rely on that working across browsers and platforms (and, apparently, it doesn't).

You can avoid the lengthy download of a big jar file by having the first few classes -that are sufficient to show the applet- as loose classes in the directory, and then access any classes in the jar file once the applet is up and running.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic