The famous Swiss Railway clock (Java applet)
This applet was designed and programmed for the Zurich Chamber of Commerce, who paid this development. Hence do not leave out the reference in the code to this page (see Calling the applet below)!
|Zurich, CH||Tehran, IR|
|200 x 200 pix||50 x 50 pix||Design principles by Hans Hilfiker. See also Wikipedia en and de|
This applet supports time zones and hence is universal for any web page. For best presentation freedom there is no text applied.
OK, there are already some pages and applets around:
- Hilfiker.org provides a Flash applet. Unfortunately the applet size is larger than the clock face and hence integration into tight space is difficult.
- Mondaine.com manufactures these watches and you can get the Flash applet in two sizes. The applet can not be scaled.
- Christopher Fuhrman (Montreal) built a Java applet, but lacks some details. It can be found only on a page of Hilfiker.org.
… but all of these are not good for web pages, because they only show the time of the PC they are running on! With other words, they do not support time zones and Daylight Savings Time switching. The time you can read from these clocks is always your time and not that of the visited web site!
The applet presented here makes use of the Java feature "time zone"! See an application at the Zurich Chamber of Commerce.
Calling the applet
<applet code="uhr.Main" archive="../z_scripts/Uhr.jar" width="200" height="200">
<param name="timezone" value="America/Los_Angeles" />
<param name="information" value="http://daube.ch/share/web03.html" />
|width, height||Size of the clock face.
There is no surrounding margin for best arrangement
Java definition of time zone (see files in Java folder /zi. On
my PC this is
The time zone file also defines the DST switching according to java.sun.com This data must be kept current by updating the Java runtime on the system of the browser!
|information||Please add this information for those looking at your HTML to find out where you got this wonderful clock from!|
You may get the applet directly from this location.