Embedding The Applet Into Your Page
Applet Class Files
There are 2 class files you have to include in your directory in order for the applet to function:
Where To Put?
It doesn't matter where you put your class files as long as both files are in the same directory. You should also think about the relative URLs used in the applet parameters when placing your class files.
Applet Dimensions
The WIDTH and HEIGHT attributes of the <APPLET> tag are necessary for the browser to display the applet window. The syntax is as follows:
<APPLET CLASS="JTree.class" WIDTH="200" HEIGHT="400">
parameter list
</APPLET>
You may change the width and height of the applet according to your needs.