import java.applet.*;
import java.awt.*;
import java.awt.image.*;
import java.util.Hashtable;
import java.util.*;
//////////////////////////////////////////////////////////
// Description: a simple digital clock in Java (1.0.2 applet)
// Author: Muhammad A Muquit
// email: ma_muquit@fccc.edu
// URL: http://www.fccc.edu/users/muquit/Dgclock.html
//
// 12/05/1995 lets play with Java
// 01/29/96 some clean up
// 02/13/96 added ornamental frame
// added 24 hr time format (TimeFormat)
// 02/15/96 GMT+-hhmm to display time of any place (TZ)
// date (ShowDate)
// 03/13/96 using MediaTrcaker to stop incremental display
// Suggested by Jim Graham
// 03/16/96 display clock without frame.
// shows version info while mouse is moved on the appl.
// stop clock by clicking mouse
// 10/29/1996 jdk 1.1 on DEC OSF1 found a syntax error
// 11/02/1996 Version 2.2
// 11/02/1996 uses an image strip instead of individual digit images
// loads much faster.
// 11/05/1996 Version 2.3
// change fg & bg color on the fly
//
// Copyright:
// This program is in the public domain. Do anything you like with it.
// It would be nice if you give me credit for it tho.
//////////////////////////////////////////////////////////
/*
Example of calling convention:
The default 24 hr format:
To display time in 12 hr format:
To display NewYork time:
12 or 24 hr format
(24 hr format - default)
(12 hr format)
the format for value is GMT+-hhmm, for example
(6 hours west of Greenwich meridian)
(4 hours, 30 minutes
west of Greenwich meridian)
(Greenwich)
(5 hours east of Greenwich meridian)
(show date with time)
(don't show date - default)