SwingUtilities.invokeLater(new Runnable() { public void run() { RunAnalysisProgress.this.numArchives = numArchives; archiveCountLabel.setText("0/" + numArchives); } });
beginStage("Scanning archives", numArchives);
        public void reportNumberOfArchives(final int numArchives) {            SwingUtilities.invokeLater(new Runnable() {                public void run() {                    RunAnalysisProgress.this.numArchives = numArchives;                    archiveCountLabel.setText("0/" + numArchives);                }            });        }