Bo Larsson's Internet Server Software

Bo Larsson's Internet Server Software
All Contents Copyright 1997-2020 by Bo Larsson - Send questions or comments to: bliss@seagull.net
Table of Contents
Last updated 18 Jan 97
Welcome!

Perl CGI Scripts

guestbook 970118 NEW!
classifieds 970115 NEW!
search 961211
table 961201
textrotate 961121
rotater 961119
navigate 961117
redirect 961111
pcounter 961110
mailsend 961110
yourhost 961110
youraddress 961110

Java Applets

jclock 961204 NEW!
jcounter 961114

Links to Other Sites

Fisher's CGI Talk NEW!
JemTek CGI C Library
Dream Catchers CGI Scripts
Web Engineer's Toolbox
cgi-lib.pl Home Page
Common Gateway Interface
CGI Made Really Easy
CGI Programmer's Reference
Matt's Script Archive
Netamorphix CGI Page
Selena Sol's Archive

jclock 961204

view the jclock java source

view the Applet Tag

show me an example

What is it?

This applet is a clock written in Java. The clock can be resized using the applet tag's height and width attributes. The applet will do its best to find a font that fits the given height and width. Two parameters, "NoDate" and "NoTime" control whether only the date is shown, only the time is shown, or both are shown(the default). It does not matter what values these parameters are given only that they are defined.

What does it demonstrate?

  • MultiThreading in java (it uses a separate thread to keep time).
  • Font manipulation in java.
  • Off screen image painting to avoid flicker.