Creating the same timer 3 times through the loop (an infinite number of times overall). That's not exactly an ideal situation. Create it once (outside of the ActionPerformed method), and set it to...
Type: Posts; User: helloworld922
Creating the same timer 3 times through the loop (an infinite number of times overall). That's not exactly an ideal situation. Create it once (outside of the ActionPerformed method), and set it to...
In swing all painting takes place on the same thread. So when you sleep that thread, none of the other frames are able to re-paint themselves.
What I would recommend doing is to remove the...