Manage GUI and EDT in a multi-task application

前端 未结 3 1442
终归单人心
终归单人心 2021-01-20 21:44

I developed a Java application for creating and extracting an archive - like WinRAR. You can create several archives at the same time with multithreading. And recently, I wa

3条回答
  •  不知归路
    2021-01-20 22:18

    The answer provided by @mKorbel is fine, but there really is no need to use another top-level container (e.g. a JDialog) to display the progress bar. Instead, you can use the Glass Pane of the JFrame instance.

提交回复
热议问题