Why do my SwingWorker threads keep running even though they are done executing?
问题 I'm implementing a GUI for a console application, and I need to do some actions (for example, parse an XML file) in a specified time interval. I decided to use javax.swing.Timer alongside SwingWorker to be sure that these actions will not make my application unresponsive. I had implemented the timer this way: public class DataUpdateTimer extends Timer { private String dataFlowControllerXML = null; private DataUpdateWorker dataUpdateWorker = null; public class DataUpdateWorker extends