This is the source code for all the applets and applications.
The source code is provided solely in case you need to recompile
for your site in case the pre-compiled class files will not work.

To compile an applet, go into the proper directory and type

       javac *.java

These commands must be typed from a command prompt.  In Windows,
you will need to use the program "Command Prompt" which brings
up a black window with the familiar C:\> prompt.  This can be
found by clicking on the Start Button/All Programs/Accessories.

If you are using Linux, open a terminal shell and type the commands
from there.

If you are using MacOS X, open a terminal shell and type the
commands.  If you are using MacOS 7, 8, or 9, you will need a
Java IDE (integrated development environment) such as Metrowerks
CodeWarrior.  (This is not a free program.)  The details of how
to make a Java project so you can compile a Java program are 
beyond the scope of this lab manual.  Please consult 
www.metrowerks.com for more information.

To run the applets from the command line, use the "appletviewer"
program that is provided with the Java SDK (software development
kit.) Navigate to the folder containing the applet's class files:

     appletviewer XXX.html

where you should replace XXX with the name of the html file in
that directory.

To run the applications from the command line, navigate to the
appropriate folder and type

     java Main

Every application has a Main class that starts the program.
This doesn't change from one application to another.

---------------------------------------------------------------

One last note about the source code... The source code was not
meant to be looked at, though obviously you can if you want to.
Please realize that due to time pressures, the code may be a bit
"dissheveled" and not entirely pretty.  Also the author's coding
style may not fit your ideals of Java code.  Emails regarding
bugs will be appreciated, but please do not criticize the code
purely on aesthetic terms.  Thank you for your understanding!
