public SwingWorker.StateValue getState() { return worker != null ? worker.getState() : SwingWorker.StateValue.PENDING; }