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
Put and display JProgressBar in a JDialog, and don't create a new Top-Level Container. Create that once and re-use that
Long timed and heavy code would be better redirected to the BackGround Task
You can move with progress in JProgressBar
from a background task
only if GUI related code is done on EDT more Concurrency in Swing
and there are two correct ways to do it
by using SwingWorker
from Runnable#Thread
but GUI rellated code must be wrapped into invokeLater()