Local Applets
To insert an applet in a web page you use the applet tag. At the very least you need to tell the browser where the code for the applet is, and how much space it will occupy on the web page. As an example,
will insert the applet whose initial file is called pie4.class in a rectangle of width 400 pixels and height 247 pixels into the web page. If you download the file pie.zip and unzip it you will get the files that go with the applet pie.class. I have also included a small HTML file so that you can see how it works. This method requires that the applet's class files reside in the same folder as the HTML file. If the files are in another folder on the same machine you can include the path starting from the folder the HTML file is in. For instance if you keep class files in a subfolder called classes then you could replace code="pie4.class" by code="classes/pie4.class". Another way to do it is to use the codebase parameter: codebase="classes/" code="pie4.class"
The align parameter specifies the alignment of the applet with respect to neighboring text. It works just like the one for images.
e-mail: C. Mawata