Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java applet how to work with multiple browsers especially with Safari 5.1

2667965May 12 2014

Now i have a self-signed applet, it can correctly work with browsers IE, Firefox and Chrome except Safari.

i don't know how to deal with the Safari. what other parameters does the Safari need?

the code in HTML like below:

<!--[if !IE]> Firefox and others will use outer object -->

<object classid="java:com.keithley.SCPI.SCPIApplet.class" type="application/x-java-applet;version=1.6" archive="../jar/SCPI.jar" height="480" width="640">

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

<!-- Konqueror browser needs the following param -->

<param name = "ARCHIVE"    value = "../jar/SCPI.jar">

         <!-- (Microsoft Internet Explorer) will use inner object -->

         <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase="http://java.sun.com/update/1.6.0/jinstall-6u35-windows-i586.cab#Version=6,0,0,10"

                 height="480" width="640" >

                 <param name = "CODE"       value = "com.keithley.SCPI.SCPIApplet.class">

                 <param name = "ARCHIVE"    value = "../jar/SCPI.jar">

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

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

          </object>

           <!--[if !IE]> close outer object -->

</object>

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2014
Added on May 12 2014
0 comments
983 views