I wanted to try out some ideas using SwingWorker since I haven\'t used it too much. Instead, I ran into an issue and I can\'t figure out what\'s wrong.
SwingWorker
If you look at line 771 of SwingWorker class source code (Java SE 7):
thread.setDaemon(true);
You will see that the SwingWorker is executed within a daemon thread, and in Java the JVM will be terminated if all non-daemon threads are finished.