HELP! * GREY=local LOCAL HTML version of Foils prepared July 10 1996
Foil 110 Sun's Digital Clock Applet to Illustrate Threads -- I
From Basic Lectures on Java Language Applets Graphics Networking Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96. byGeoffrey C. Fox * Critical Information in IMAGE
import java.awt.Graphics;
import java.util.Date;
public class Clock extends java.applet.Applet
implements Runnable {
Thread runner;
public void start () {
if (runner == null) {
runner = new Thread (this, "Clock");
runner.start ();
}
}
Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.