In order to use the applets for Chapters 12 through 17, you have
to install a browser which supports Sun's JDK 1.1. This can be downloaded
free from Netscape, Sun, or Microsoft. Just follow the
instructions bellow:
-
If you have a Windows 95 or Windows NT machine:
-
If you have a Unix machine:
-
If you have a Macintosh machine:
All the programs ( called "Java Applets" ) in this project look like
this.. ( Try it as you read the instructions )
The rectangle at the top is called a "TextField". It is where you would
enter all the input values. The bigger rectangle beneath the "TextField"
is called a "Canvas". It is where the answers are displayed. The "Canvas"
is a non-editable component. There are two "ScrollBars" one to the right
of the "Canvas" called the "Vertical Scrollbar" and the other beneath the
"Canvas" called the "Horizontal Scrollbar". The smaller rectangle in the
bottom is called a "clear button". If you click your mouse on the "clear
button" the "Canvas" will be refreshed.
To run the programs you must
-
Click your mouse in the textfield.
-
Enter an integer value without any spaces
-
Press "Return" (The program waits until you do this).
Note: The Scrollbars work more efficiently if you place the mouse on
the scrollbar and move them.
However, any "exceptions" that may occur from an invalid entry are
"caught" and appropriate error messages are displayed in the canvas.
Special Cases: There are certain programs that have more than one
"TextField" like the one shown below...
In those programs you must press "Return" at least once in each of the
"TextFields" to get an answer.
Now go ahead and try the programs and if there are any bugs or questions
please write to me at jgallian@d.umn.edu.
Project
Home Page.