if you are using swing components ....then try using this ...
Timer t = new Timer(ActionListener, delay);
and if you use the java.util.Timer class ... then try this ...
Timer t = new Timer();
a rough Algo for your program
INITIALIZE THE TIMER
FOR LOOP DECREASING VALUES UNTIL ZERO
DO WHAT YOU WANT TO DO ...
nanosani
Unauthenticated Liar
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56