SwingUtilities.invokeLater(new Runnable() { public void run() { closeDialog(new WindowEvent(RunAnalysisDialog.this, WindowEvent.WINDOW_CLOSING)); } }); }
                public void run() {                    archiveCount++;                    archiveCountLabel.setText(archiveCount + "/" + numArchives);                }