Java applets and applications

ProRates for Java 
Ported from a C++ Macintosh program I wrote, ProRates lets you click on a map to trace the route from one part of Madison to another. It will calculate the approximate mileage, cab fare, and paratransit fare while you click. We use the C++ version to help estimate fares, especially multistop ones.

Landmark labels can be shown to help you figure out how to get from one place to another.

The maps, the map scale, the monetary units, and the landmarks are set via applet parameters, so you can use it for the city of your choosing.
Source code is here. 
 
LinkButtons
Handy 3D icon link panel with sound effects. All attributes are set through applet parameters.
 

 
Here's the applet tag for these buttons:
 
<APPLET CODE="LinkButtonApplet.class" CODEBASE="java/LinkButtonApplet/"
WIDTH="460" HEIGHT="79" ALIGN="BOTTOM">
<PARAM NAME="NUMLINKS" VALUE="4">
<PARAM NAME="DISPLAYFRAME" VALUE="_blank">
<PARAM NAME="BACKRED" VALUE="255">
<PARAM NAME="BACKGREEN" VALUE="255">
<PARAM NAME="BACKBLUE" VALUE="255">
<PARAM NAME="CLICKSOUND" VALUE="sounds/Click.au">
 
<PARAM NAME="TITLE1" VALUE="DevWorld">
<PARAM NAME="ICON1" VALUE="images/cdrom.gif">
<PARAM NAME="URL1" VALUE="http://www.devworld.com/">
 
<PARAM NAME="TITLE2" VALUE="MacWeek">
<PARAM NAME="ICON2" VALUE="images/newspaper.gif">
<PARAM NAME="URL2" VALUE="www.macweek.com/">
 
<PARAM NAME="TITLE3" VALUE="Scripting News">
<PARAM NAME="ICON3" VALUE="images/info.gif">
<PARAM NAME="URL3" VALUE="http://www.scripting.com/">
 
<PARAM NAME="TITLE4" VALUE="Macintouch">
<PARAM NAME="ICON4" VALUE="images/newspaper.gif">
<PARAM NAME="URL4" VALUE="http://www.macintouch.com/">
 
</APPLET>
 
Source code for the applet and required classes:
LinkButtonApplet.java
ThreeDButton.java
ThreeDIconButton.java
 



 Main  PowerPlant  Java
 VRML  Miscellaneous Links

All pages Copyright 1997, Brian Hill. All Rights Reserved