Description: This counter will countdown to the specified time if it is in the future and countup if it is in the past. You must provide a Year, Month, and Day to the target date. In our example the year 2000 is the target. You can optionally specify an hour (in military), minute and second as well: they default to 0. For those of you in the U.S.A, you can specify if the target time is during daylight savings time: otherwise it defaults to regular time. On top of this, you can specify what the applet will display at the bottom of your viewer and where it will point the browser to go when the user clicks on the applet. (I use it to provide a link to the source file.) There is also an option to specify a font to use. I have included only one font set with this, called lcdb0. You can create your own fonts, but make sure they are the correct size. colon image: 21 x 9 (in pixels), all other images: 21 x 16 (in pixels).

HTML code of the applet:

<applet code="countdown.class" width=203 height=21>
<param name=text value="Countdown to the year 2000">
<param name=font value="lcdb0">
<param name=dest value="">
<param name=year value=2000>
<param name=month value=01>
<param name=day value=01>
<param name=hour value=00>

Author: Michael Hartman
Homepage: -
Java Source:
Download: (13k)
Usage: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.