java SwingWorker.doInBackground() must not access GUI elements
May be this is trivial, I am struggling to understand a simple documentation on SwingWorker . Here is the copy pasted content Workflow There are three threads involved in the life cycle of a SwingWorker : Current thread: The execute() method is called on this thread. It schedules SwingWorker for the execution on a worker thread and returns immediately. One can wait for the SwingWorker to complete using the get methods. Worker thread: The doInBackground() method is called on this thread. This is where all background activities should happen. To notify PropertyChangeListeners about bound