Applet doesn't work in Internet Explorer 7 !!!

Hi,

I've just found out that my applet works fine except in Internet

Explorer 7. Both simple applet code as well as the htmlconverted

applet code do not work only in Internet Explorer 7!

Anybody have a clue?

The following is my simple applet code. It simply doesn't display anything!

code:

--

<APPLET CODE = "PurePlayerPro" ARCHIVE = "../../../applet/fullscreen/PurePlayerPro.jar" WIDTH = "100%" HEIGHT = "100%">

<PARAM NAME = "gui" VALUE="gui2.xml" />

<PARAM NAME = "panorama" VALUE="panorama2.xml" />

<PARAM NAME = "optimizememory" VALUE="true" />

<PARAM NAME = "mousespeed" VALUE=25>

<PARAM NAME = "fullscreen" VALUE="true">

<PARAM NAME = "optimizememory" VALUE="true">

<PARAM NAME = "singlepanorama" VALUE="true">

<PARAM NAME = "usecache" VALUE="smart">

<PARAM NAME = "antialiasing" VALUE="onstop">

<PARAM NAME = "lockzenithnadir" VALUE="true">

<PARAM NAME = "quality" VALUE="100">

<PARAM NAME = "smoothstop" VALUE="128">

<PARAM NAME = "protectfullscreen" VALUE="true">

</APPLET>

--

And the html converted applet code is as follows..

This gives an Visual C++ runtime error.

code:

--

<!--"CONVERTED_APPLET"-->

<!-- HTML CONVERTER -->

<script language="JavaScript" type="text/javascript"><!--

var _info = navigator.userAgent;

var _ns = false;

var _ns6 = false;

var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);

//--></script>

<comment>

<script language="JavaScript" type="text/javascript"><!--

var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0) || (_info.indexOf("AIX") > 0) || (_info.indexOf("OS/2") > 0) || (_info.indexOf("IRIX") > 0)));

var _ns6 = ((_ns == true) && (_info.indexOf("Mozilla/5") >= 0));

//--></script>

</comment>

<script language="JavaScript" type="text/javascript"><!--

if (_ie == true) document.writeln('<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = "100%" HEIGHT = "100%" codebase="http://java.sun.com/update/1.5.0/jinstall-1_5_0_10-windows-i586.cab"><noembed><xmp>');

else if (_ns == true && _ns6 == false) document.writeln('<embed ' +

'type="application/x-java-applet;version=1.5" \

CODE = "PurePlayerPro" \

ARCHIVE = "../../../applet/small/PurePlayerPro.jar" \

WIDTH = "100%" \

HEIGHT = "100%" \

MAYSCRIPT = true \

gui ="gui.xml" \

panorama ="panorama.xml" \

optimizememory ="true" \

mousespeed ="25" \

fullscreen ="true" \

optimizememory ="true" \

singlepanorama ="true" \

usecache ="smart" \

antialiasing ="onstop" \

lockzenithnadir ="true" \

quality ="100" \

smoothstop ="128" \

protectfullscreen ="true" ' +

'scriptable=false ' +

'pluginspage="http://java.sun.com/products/plugin/index.html#download"><noembed><xmp>');

//--></script>

<applet CODE = "PurePlayerPro" ARCHIVE = "../../../applet/small/PurePlayerPro.jar" WIDTH = "100%" HEIGHT = "100%" MAYSCRIPT = true></xmp>

<PARAM NAME = CODE VALUE = "PurePlayerPro" >

<PARAM NAME = ARCHIVE VALUE = "../../../applet/small/PurePlayerPro.jar" >

<PARAM NAME = MAYSCRIPT VALUE = true >

<param name="type" value="application/x-java-applet;version=1.5">

<param name="scriptable" value="false">

<PARAM NAME = "gui" VALUE="gui.xml">

<PARAM NAME = "panorama" VALUE="panorama.xml">

<PARAM NAME = "optimizememory" VALUE="true">

<PARAM NAME = "mousespeed" VALUE="25">

<PARAM NAME = "fullscreen" VALUE="true">

<PARAM NAME = "optimizememory" VALUE="true">

<PARAM NAME = "singlepanorama" VALUE="true">

<PARAM NAME = "usecache" VALUE="smart">

<PARAM NAME = "antialiasing" VALUE="onstop">

<PARAM NAME = "lockzenithnadir" VALUE="true">

<PARAM NAME = "quality" VALUE="100">

<PARAM NAME = "smoothstop" VALUE="128">

<PARAM NAME = "protectfullscreen" VALUE="true">

</applet>

</noembed>

</embed>

</object>

<!--

<APPLET CODE = "PurePlayerPro" ARCHIVE = "../../../applet/small/PurePlayerPro.jar" WIDTH = "100%" HEIGHT = "100%">

<PARAM NAME = "gui" VALUE="gui.xml" />

<PARAM NAME = "panorama" VALUE="panorama.xml" />

<PARAM NAME = "optimizememory" VALUE="true" />

<PARAM NAME = "mousespeed" VALUE=25>

<PARAM NAME = "fullscreen" VALUE="false">

<PARAM NAME = "optimizememory" VALUE="true">

<PARAM NAME = "singlepanorama" VALUE="true">

<PARAM NAME = "usecache" VALUE="smart">

<PARAM NAME = "antialiasing" VALUE="onstop">

<PARAM NAME = "lockzenithnadir" VALUE="true">

<PARAM NAME = "quality" VALUE="100">

<PARAM NAME = "smoothstop" VALUE="128">

<PARAM NAME = "protectfullscreen" VALUE="true">

</APPLET>

</APPLET>

-->

<!--"END_CONVERTED_APPLET"-->

--

I have no idea what MS has done to IE7...

Any help would be appreciated!

Hyung

Message was edited by:

hyung77

[5934 byte] By [hyung77a] at [2007-11-27 2:09:32]
# 1
Is there anything in your Java Console while trying to run the applet?What if you set trace using: http://forum.java.sun.com/thread.jspa?threadID=656028
attilaracza at 2007-7-12 2:00:05 > top of Java-index,Desktop,Core GUI APIs...
# 2

This is related to Microsoft's "features".

I am having the same problem. I am trying something like this explained here

http://joliclic.free.fr/html/object-tag/en/object-java.html

Otherwise Adobe acrobat has published a script to load object tag using javascript

http://blog.ziffdavis.com/devlife/archive/2006/10/25/43955.aspx

http://www.adobe.com/devnet/activecontent/articles/devletter.html

Let me know if it works. I will do the same.

oplma at 2007-7-12 2:00:05 > top of Java-index,Desktop,Core GUI APIs...
# 3
1. IF you dont see anything but white space, and in the view source if you dont see any APPLET CODE , then the fix is "Turn your Firewall off and try" - Actually you musnt block applet in FireWall thats where you get this problem
sagaya at 2007-7-12 2:00:05 > top of Java-index,Desktop,Core GUI APIs...