Java - SwingWorker - problem
- by Yatendra Goel
I am developing a Java Desktop Application. This app executes the same task public class MyTask implements Callable<MyObject> { in multiple thread simultaneously.
Now, when a user clicks on a "start" button, I have created a SwingWorker myWorker and have executed it.
Now, this myWorker creates multiple instances of MyTask and submits them…