My Applet Scripting Examples
Download the source for the examples below.
Applets and Javascript - Example of using JavaScript to talk to an Applet (Applet scripting).
Applet Scripting from a JAR file - Jar (Java Archive)
IE - Java Console
MS JVM
View the Java Console (for Microsoft JVM only).
Launch IE.
Click View, Java Console. (Note: If you don't see the option "Java Console" then you need enable "Java Console".
To enable "Java Console"
Launch IE
Tools, Internet Options, Advanced
Find the "Microsoft VM" section
Check - "Java console enabled (requires restart)
Check - "Java logging enabled"
Now close all of the browser windows (this is a restart).
Now launch IE and view the Java Console.
Sun's JVM
View the Java Console (for Sun's JVM only).
Launch IE.
Tools, "Sun Java Console". (If this option doesn't appear then you need to install Sun's JVM.)
Enable Sun's JVM
Launch IE.
Tools, Internet Options, Advanced
Find the "Java (Sun)" section. (If you don't have one then you don't have Sun's JVM installed.)
Check the "JVM that you want enabled."
Now close all of the browser windows (this is a restart).
Now launch IE and view the Java Console.
IE settings - allow Applet Scripting
Example Error if Applet scripting is not allowed:
A Runtime Error has occurred.
Do you wish to Debug?
Line: <line no. where you access the applet>
Error: Object doesn't support this property or method.