1 |
With LiveConnect:
-
JavaScript can access the classes of the browser's Java virtual machine
-
e.g. java.lang.System.out.println("A string"); // writes to Java Console
-
JavaScript can read/write the public variables of an applet and invoke public methods; same for Java-enabled plug-ins
-
Applets and Java-enabled plug-ins can read/write JavaScript object properties and invoke JavaScript functions
|