According to the javax.swing documentation some of the accesses that the application currently does on threads other than the AWT event dispatching thread have to be done on it instead via javax.swing.SwingUtilities.invokeLater or javax.swing.SwingUtilities.invokeAndWait .
According to the javax.swing documentation some of the accesses that the application currently does on threads other than the AWT event dispatching thread have to be done on it instead via javax.swing.SwingUtilities.invokeLater or javax.swing.SwingUtilities.invokeAndWait .