- in Java7 were removed almost of
thread safe (up to Java7) methods in API,
- usage of Thread.sleep(int) isn't about good practicies in Java
- Thread.sleep(int) freeze AWT/Swing untill sleep ended, all event are lost during this sleep, more in Oracle tutorial Concurency in Swing
- use Swing Timer in AWT, Swing exclusivelly