I am trying to update my JPanel using a java.swing.timer
JPanel
java.swing.timer
When the timer is running, I want to pause main thread\'s execution so I do it with