Create an HTML File
This will be the document people point their browser at. It can be an arbitrarily complicated HTML document, with surrounding text and images. For now, we use:
<HTML>
<TITLE>A File Display</TITLE>
<BODY>
<APPLET CODE=“FileDisplay.class”
WIDTH=300 HEIGHT=450></APPLET>
</BODY>
</HTML>
Note the WIDTH and HEIGHT parameters here replace the setsize() call in a Swing application.
We will assume this text is stored in the file:
in the same directory as the applet class files.