FileDocCategorySizeDatePackage
TimerThread.javaAPI DocExample838Tue Jan 28 17:05:32 GMT 1997None

TimerThread

public class TimerThread extends Thread

Fields Summary
Component
comp
int
timediff
Constructors Summary
public TimerThread(Component comp, int timediff)

        this.comp = comp;
        this.timediff = timediff;
    
Methods Summary
public voidrun()

        while (true) {
            try {
                comp.repaint();
                sleep(timediff);
            } catch (Exception e) {}
        }