Sample HTML Page With Applet
Here is an example of an applet:
This is the Java
source code