Response title
This is preview!




Click on Join Now to Sign Up
int delay = 1000; //milliseconds ActionListener taskPerformer = new ActionListener() { public void actionPerformed(ActionEvent evt) { //...Perform a task... } }; new Timer(delay, taskPerformer).start();because I need to notify me of a recurring event to perform a certain task each time interval.