Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Applet doesn't work in IE 7.0

This is a discussion on Applet doesn't work in IE 7.0 within the Java forums, part of the Software Development category; 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 ...

Go Back   Geeks Talk > Software Development > Java
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Java Java related Issues and Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-20-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,016
Thanks: 0
Thanked 91 Times in 72 Posts
psuresh1982 will become famous soon enough
Applet doesn't work in IE 7.0

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? (sample code follows in my next post)

--------------------
suresh
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-20-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,016
Thanks: 0
Thanked 91 Times in 72 Posts
psuresh1982 will become famous soon enough
Re: Applet doesn't work in IE 7.0

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>
Reply With Quote
  #3 (permalink)  
Old 07-20-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,016
Thanks: 0
Thanked 91 Times in 72 Posts
psuresh1982 will become famous soon enough
Re: Applet doesn't work in IE 7.0

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!

-----------------------
suresh
Reply With Quote
  #4 (permalink)  
Old 07-20-2007
Expert Member
 
Join Date: Jul 2007
Location: Kolkata
Posts: 182
Thanks: 7
Thanked 17 Times in 16 Posts
animesh.chatterjee is on a distinguished road
Re: Applet doesn't work in IE 7.0

But this is working for me...can you please use single tab to run
Reply With Quote
Reply

  Geeks Talk > Software Development > Java

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Applet user properties Geek_Guest Seibel 1 07-27-2009 05:09 AM
print variable value on an applet.... psuresh1982 Java 1 08-30-2007 07:35 AM
pass parameter to applet in another window psuresh1982 Java 1 08-22-2007 04:00 AM
How to set x and y positions in the Applet ashokraja_cm Java 1 02-21-2007 02:39 AM
Trusted and Untrusted applet JobHelper Java 1 12-06-2006 03:20 AM


All times are GMT -4. The time now is 08:36 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved