I want to be able to use SwingWorker
subclass multiple times. Is this possible?
I have read in the java doc:
SwingWorker
is only designed to be executed once. Executing aSwingWorker
more than once will not result in invoking thedoInBackground
method twice.
One instance of a class implementing SwingWorker can be indeed ran only once. There are no limitations on instantiating as many instances as you need and running them.