Dialog isn't responsive while SwingWorker works in the background
问题 Basically I got a JFrame with a main method as entry point. In this main method the program has to download some images. To inform the user that the program is going to start any minute I want to display a simple dialog. If I set the dialog to modal. I got to close it after starting the program to trigger the download. If I set it to non-modal it displays the dialog for the time of the download, but it's not repsonsive. The dialog doesn't even paint my JLabel saying "Please wait..." anymore.