FileDocCategorySizeDatePackage
AnnoyingBeep.javaAPI DocExample1068Tue Dec 12 18:57:46 GMT 2000None

AnnoyingBeep

public class AnnoyingBeep extends Object
Schedule a task that executes once every second.

Fields Summary
Toolkit
toolkit
Timer
timer
Constructors Summary
public AnnoyingBeep()

	toolkit = Toolkit.getDefaultToolkit();
        timer = new Timer();
        timer.schedule(new RemindTask(),
	               0,        //initial delay
	               1*1000);  //subsequent rate
    
Methods Summary
public static voidmain(java.lang.String[] args)

	System.out.println("About to schedule task.");
        new AnnoyingBeep();
	System.out.println("Task scheduled.");