Im trying to make a JDialog that will show the user a dynamic message on a JLabel.
The message should be a count from 1 to 10 (and it should be changing a number every secon
setVisible is a blocking call on JDialog's. You should start an other Thread and pass a Runnable to it. The Runnable.run() method should contain your loop.