Use a TimerTag(s): Swing


See this How-to.