Timer « java.util « Java by API






1.new Timer()
2.Timer: cancel()
3.Timer: schedule(TimerTask task, Date firstTime, long period)
4.Timer: scheduleAtFixedRate(TimerTask task, long delay, long period)