event notification?
in
Programming Questions
•
1 year ago
i need something like:
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.
1