LINKS--
| Calorie
Project |
|
|
|
|
|
|
| Compound
Interest Project |
|
|
|
|
|
|
| General |
|
|
|
|
|
|
|
You can download our programs here! Just
click on the links below. You may need to download both the .java
and .class programs, or you could use the "javac" command to compile
the .java program.
|
|
- Download the
Java
versionof the Counting Calories Program
- Download the
.class
version of the Counting Calories Program
|
 |
- Download the
Java versionJava
version of the Compound Interest Program
- Download the.class
version version of the Compound Interest Program
|
Insructions for creating an Applet
Viewer-
**NOTE: in
order to run this program as an applet, you will also need to write
an html file, using Notepad, that calls the program with the
following code:
<html> <applet
code=“calorie.class" codebase="." width=0 height=0>
</applet> </html>
When you save
the file, name the html file as follows:
calorie.htm
Then, copy the uk folder (from C:\JSGL\JDK1.1\CLASSES) and paste
it into the same directory as calorie.htm (and calorie.class) and
call the .htm file (from within its directory) with (this runs the
program as an applet using the utility called
appletviewer): appletviewer calorie.htm
**NOTE: to run
the compound interest program, just substittue the basic file name
(used in the .class and .java file) for “calorie.”
|