A
andrewfsears
Okay, I've got one that i'm not so sure about, and i don't know if this
belongs here...
I have an applet that is an extension of the JApplet class.
To avoid cross-browser issues with loading it, I use a javascript to
create the applet tag in the web page: <embed> for Netscape/Firefox,
<object> for IE, <applet> for "else" (for good measure, these tags also
have the safeguard to ensure that JRE 1.4+ is installed).
These will load the applet correctly, except when the JRE is installed.
After installation, in IE only, when i try to retrieve the applet
object in a Javascript code (for example: appletObject.isActive), it
does not get the applet. Instead, when i "alert" the object by calling
document.getElementById("theApplet");
i get the following message:
com.company.MyApplet[panel2,0,0,400x500,layout=java.awt.BorderLayout,rootPane=javax.swing.JRootPane[,0,0,400x500,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
The <object>-tag that is generated looks correct when I "alert" that.
Anyone have any idea why?
Also, after installing the JRE, rebooting, clearing caches, internet
pages, etc. does not make a difference.
belongs here...
I have an applet that is an extension of the JApplet class.
To avoid cross-browser issues with loading it, I use a javascript to
create the applet tag in the web page: <embed> for Netscape/Firefox,
<object> for IE, <applet> for "else" (for good measure, these tags also
have the safeguard to ensure that JRE 1.4+ is installed).
These will load the applet correctly, except when the JRE is installed.
After installation, in IE only, when i try to retrieve the applet
object in a Javascript code (for example: appletObject.isActive), it
does not get the applet. Instead, when i "alert" the object by calling
document.getElementById("theApplet");
i get the following message:
com.company.MyApplet[panel2,0,0,400x500,layout=java.awt.BorderLayout,rootPane=javax.swing.JRootPane[,0,0,400x500,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
The <object>-tag that is generated looks correct when I "alert" that.
Anyone have any idea why?
Also, after installing the JRE, rebooting, clearing caches, internet
pages, etc. does not make a difference.