Use SwingWorker instead of SimpleSwingWorker