2 * Copyright (c) 2002 Erik Rasmussen - All Rights Reserverd
7 * This thread is used by the appletbots applet to update its components after
10 * @author Erik Rasmussen
12 public class TimeUpdaterThread
extends Thread
15 * The applet this thread is running for
17 private Applet applet
;
20 * Constructs a new TimeUpdaterThread for the given applet
22 * @param applet The applet the thread is to run for
24 public TimeUpdaterThread(final Applet applet
)
30 * Simply calls applet.updateTimeField() and sleeps for applet.getDelay()
37 applet
.updateTimeField();
40 Thread
.sleep(applet
.getDelay());
42 catch (InterruptedException e
)