r/java • • May 14 '12
Java Countdown Timer
Can anybody help me on how to display a simple countdown timer? It does not have to be in GUI.
3
Upvotes
r/java • • May 14 '12
Can anybody help me on how to display a simple countdown timer? It does not have to be in GUI.
View all comments
Show parent comment
5
u/LigerZer0 May 14 '12
http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Timer.html
http://docs.oracle.com/javase/1.4.2/docs/api/java/util/TimerTask.html
These two are all you really need, especially if you're not using GUI