| Java Applets | | Home | Cheat Sheet | |
Java Applets are basically program applications designed to run in web browsers. Supposedly platform independant, applets are a versatile way of running programs on web pages. As with JavaScripts, there are also many java applets out there, from chat programs to login and password applets. Note: login and password applets are not a safe way of password protecting your site and are not advisable. (I dont see why any individual would want to).
See my Logo Turtle Graphics Applet as an example of including Java applets on your website. View the page source to see how the <APPLET> </APPLET> tag is used to simply load the .jar file.
Here is an example of an applet that can take parameters. Click here to see it.
<HTML>
<HEAD>
<TITLE>This is the Title</TITLE>
</HEAD>
<BODY>
<APPLET code="ParamTest.class" height="50" width="250">
<PARAM NAME="font" VALUE="Dialog">
<PARAM NAME="size" VALUE="16">
<PARAM NAME="string" VALUE="Applet Example Text">
</APPLET>
</BODY>
</HTML>
A Good Source for Java Applets: http://javaboutique.internet.com/
| http://www.htmlguide.findhere.com | Copyright © 1999 Robert Duncan |