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 ...
Reputation Points: 45
Solved Threads: 56
Unauthenticated Liar
Offline 1,767 posts
since Jul 2004