If you are using an older JDK 1.1 you'll still have support for everything from the textbook except Iterators (Section 5.4). The new JDK 1.2 does support Iterators.
To start with, I suggest that you place all the .class files for your
applets in a single subdirectory underneath your
public_html
directory. For example, all my applet .class files
are in a subdirectory that I call applets
.
Then, as part of my APPLET tag, I use the CODEBASE
argument, such as this:
<APPLET CODE="BagApplet.class" CODEBASE="http://www.cs.colorado.edu/~main/applets" WIDTH=480 HEIGHT=340 > </APPLET>This particular applet tag embeds this
BagApplet
from Appendix I of the textbook:
If your applets use other packages that you wrote, then the
directories for those packages must be installed underneath
your applets directory. For example, my BagApplet.class
uses the IntArrayBag
from
edu.colorado.collections
. So, underneath my
applets
directory is the subdirectory
edu/colorado/collections
, which contains
IntArrayBag.class
.