----------------------------------------------------------------- README for Clock Applet March 14, 1999 ------------------------------------------------------------------ (c) Copyright David Chan, 1999 This document provides information you may find useful in running Clock Applet. HOW TO USE THIS DOCUMENT ======================== To view clock.txt on screen in Notepad, maximize the Notepad window. To print clock.txt, open it in Notepad or another word processor, then use the Print command on the File menu. DESCRIPTION =========== Clock Applet is a freeware Java(tm) applet that displays the time in 24 hour format. Time is shown digitally and updates every second. Customizable features include changing the: font type, font colour, font size, font style and background colour. HTML CODING =========== Place the following code in your HTML file to use this applet: Note: If no parameters are entered, then default values will be given. These are shown in the HTML code above. Please select a width that matches the length of your text. PARAMETER DESCRIPTION ===================== Values for parameters can be changed to customize the applet. Following is a list of parameter names and what they do: font - font type style - whether the font is BOLD, ITALIC or PLAIN (default) size - font size f1 - foreground red value f2 - foreground green value f3 - foreground blue value b1 - background red value b2 - background green value b3 - background blue value Note: If you are unfamiliar with red, green, blue (RGB) values, trying downloading my Rgb Tester Applet at http://www.geocities.com/davidchan/odyssey/rgbtest.html STANDARD COLOURS ================ Following is a list of colours and their RGB values: white - 255, 255, 255 black - 0, 0, 0 light gray - 192, 192, 192 gray - 128, 128, 128 dark gray - 64, 64, 64 red - 255, 0, 0 green - 0, 255, 0 blue - 0, 0, 255 yellow - 255, 255, 0 magenta - 255, 0, 255 cyan - 0, 255, 255 pink - 255, 175, 175 orange - 255, 200, 0 USING APPLET ON YOUR OWN SITE ============================= To use Clock Applet on your own site you must first create a html document which references the applet. This code can be found in this readme under the "HTML CODING" title. The html document and the applet class file should then be uploaded in "ASCII" and "BINARY" modes respectively. A link back to my site would be much appreciated. SENDING SUGGESTIONS, CONTENT ENHANCEMENTS, AND ERRORS ===================================================== If you have suggestions for features you would like to see in future editions of Clock Applet or comments about the current version, please send them to: Internet: http://www.geocities.com/davidchan E-mail: davidchan@hotpop.com Comments about errors, comprehensiveness, or validity of information presented are welcome. Please send these comments by e-mail. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. David's Odyssey is independent of Sun Microsystems, Inc.