make make runin their directory.
When running an applet from a browser, it looks for class files in the codebase directory specified in the .html file, or in the directory with the html file.
It is appealing to archive all .class and bitmap files into an archive, or JAR, as this cuts down on network transfer time. However, when developing simulations it is more convenient to access the .classes normally, since there are then no security restrictions preventing writing of files - for some reason these restrictions seem to apply even to code in locally generated Jar files. For this reason, two .html files are given in each applet example; index.html for use by appletviewer, and jarindex.html for use by a web browser. The following html clips show various ways of including a simulation in a web page.
<applet code=workfarm.Applet5.class width=500 height=420></applet>
<applet archive = "../../jars/simjava.jar" code=Applet4.class width=500 height=420> </applet>
<applet code=workfarm.GraphTest.class codebase="../.." archive="jars/graphtest.jar, jars/simjava.jar" width=500 height=420></applet>
HotJava can be used to run JDK 1.1 applets (and the links above have been tested with this). It is best to use jar files with HotJava - HotJava has problems loading class flies directly from two different locations (i.e. the example directory plus the simjava directory). The jarindex.html files provide the jars.