Calling Java Methods : Applet Jar « Development « JavaScript DHTML






Calling Java Methods


<HTML>
<HEAD>
<TITLE>Calling Java Methods</TITLE>
</HEAD>
<BODY>
<P>This script writes the text, <EM>Hello World!</EM>
 to the Java console window.</P>
<SCRIPT LANGUAGE="JavaScript"><!--
java.lang.System.out.println("Hello World!")
// --></SCRIPT>
</BODY>
</HTML>

           
       








Related examples in the same category

1.Accessing Applets from within JavaScript
2.Using JavaScript in an Applet
3. Stopping and Starting an Applet
4. A More Fully Scripted Clock
5.Basic Signed Script Structure