Back to Dave Eisenberg's Resume
This page is in response to a person who emailed me this:
You really want Java to do this. I remembered seeing a similar application in the book Core Java by Gary Cornell and Cay S. Horstmann. Sure enough, there it was. I used it as inspiration (but didn't copy their code). The resulting applet produces what you see below. The clock face is light yellow during AM hours, and light blue during PM hours. Here are instructions on how to use the applet
Note: This applet will not function properly on Macintosh Netscape Navigator 3.01; there's a bug in their implementation of Java's getTimezoneOffset() function.
Download a .zip file with source
and object code
Back to main index