Whistle Calculator can be run in either of two modes - as an applet embedded in
a web page, or as a stand-alone Java application.
Run Whistle Calculator as a stand-alone Java
Application
For this you will need to have a Java Virtual Machine installed and
configured. Assuming that you have, then download the executable
jar file from the project
page.
Simply double click this jar file, and the application
should start. The standalone application has more features, as an
applet does not have a frame, which means no menus or dialogues.
Run Whistle Calculator as an Applet
You ave already done this if you have visited the project home page and
played with Whistle Calculator. You can incorporate Whistle Calculator into your own
web page if you wish - though I would appreciate it if you pointed
folks to the original as well, so they can get updates, report bugs and
read the instructions......
All you need to do is include a simple fragment of HTML in your web
page, and ensure that the jar file is on your java class path.
<table style="background-color: rgb(204, 204, 204);" cellpadding="2">
<tbody>
<tr>
<td> <applet code="TWJCalcApplet" archive="TWJCalc.jar"
height="600" width="800"></applet><br>
</td>
</tr>
</tbody>
</table>
The code in red is the bare minimum, but I use a table with one cell to provide a frame.