First of all I want to say I\'m aware this aproach is wrong so I\'m asking this question because of pure curiousity. Lets say I have a swing application like this:
works in this case, because you programatically freeze ouf Swing GUI, but there is/aren't another update(s), ot another JComponent(s)
doens't works in the case that there are a few another updated to the Swing GUI, Thread.sleep(int) freeze Event Dispatch Thread,
by default all updates to the JComponents XxxModels
never will be visible on the JComponents view
example until sleep ended you'll lost all updated to the GUI