How to set Swing Timer initial delay?
javax.swing.Timer object fires the action event after the delay time specified in the constructor passed. For some reasons you might want the
Timer class fires immediately after it was started.
To achieve this you can set the timer initial delay by calling the
setInitialDelay(int initialDelay) method. The example below give you an example how to do it.