views:

50

answers:

1

I want to be able to use SwingWorker subclass multi times is this possible as I have read in the java doc "SwingWorker is only designed to be executed once. Executing a SwingWorker more than once will not result in invoking the doInBackground method twice."

Any ideas?

Thanks

+3  A: 

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.

Boris Pavlović