5051525354555657585960
private void createDialog() { SwingUtilities.invokeLater(new Runnable() { @Override public void run() { if (dialogRequested) { dialog = new ProgressDialog(parent, workerService); dialog.setVisible(true); } } }); }