jimsavidge.com - home
   
programming stuff
   
     Applets
     Hyper Button
     Hyper Button 2
     Hyper Toolbar
     jTextEffects
     Virtual BlackBoard
     Simple Text Scroller
     jTime
     jDate
     jHostName
     Multithreading
     Resources
     Scroller.class
     Fader.class
   
 

jDate applet v 1.1


by James Savidge


If you want to use this applet download the necessary files here


You should probably see some obvious Y2K errors in the samples below
I will fix these and re-compile when I get around to it.
To use this time applet in your web pages you need to include the following parameters in the HTML.

<Param name = Date_Style value =" ">
  • Text : default
  • Digital
These parameters are only acknowledged if the Clock_Style is digital

<Param name = Digit_Size value =" ">
  • large : default
  • small


< param name = Digit_Color value = " " >
  • red : default
  • green
If the Clock Style is digital the background color is automatically black

<Param name = bg_color value =" ">
Background color.
Accepts Hexadecimal RGB values in the format used to specify color in HTML so you can easily match the background of your web page. This must be a six digit/character string or else the Background color will default to white.
  • FFFFFF
  • 4b9fd0

<Param name = text_color value =" ">
Text Color.
Accepts the same Hexadecimal type arguments as the BgColor.
The default is black.
< Param name = Font_Size value = " ">
Set font size.
if this is left blank default size is 24.
The font size of the message will automatically scale if it is to large for the applet. This scaling is dynamic and depends on the scroll direction.

< Param name = Font_Style value = " ">
Acceptable values are :
Plain
Italic
Bold
: This is the default
BoldItalic

< Param name = Font_Name value = " ">
Acceptable values are :
Helvetica
Courier
TimesRoman
: This is the default
Other Fonts will ba added in the future.
HTML Parameters for the applet to the left

<applet code="jDate.class" width = 250 height = 100 >
<param name = bg_color value = "0000ff">
<param name = text_color value = "00ff00">
<param name = Font_Name value = "Helvetica">
<param name = Font_Style value = "BoldItalic">
<param name = Font_Size value = "48">
<param name = Digit_Size value = "LargE">
<param name = Digit_Color value = "green">
<param name = Date_Style value = "digital">
</applet>