Simple Java Applet Control

Netscape's LiveConnect feature allows JavaScript to control Java applets by means of their public methods. This example shows a simple applet, the Chameleon Bar being controlled by JavaScript. You can start and stop the applet, display information about it, and even change the speed at which it switches colors.

 

Share this Listing