this.analysisRun = analysisRun_; this.completed = false;    final FindBugsProgress progress = new FindBugsProgress() { public void reportNumberOfArchives(final int numArchives) { SwingUtilities.invokeLater(new Runnable() { public void run() { archivesProgress.setMinimum(0); archivesProgress.setMaximum(numArchives); } }); }  public void startArchive(final String archiveFile, final int numClasses) { SwingUtilities.invokeLater(new Runnable() { public void run() { archiveName.setText(archiveFile); classesProgress.setValue(0); classesProgress.setMinimum(0); classesProgress.setMaximum(numClasses); } }); }  public void finishClass() { SwingUtilities.invokeLater(new Runnable() { public void run() { classesProgress.setValue(classesProgress.getValue() + 1); } }); }  public void finishArchive() { SwingUtilities.invokeLater(new Runnable() { public void run() { archivesProgress.setValue(archivesProgress.getValue() + 1); } }); } };   this.analysisThread = new Thread() { public void run() { try { analysisRun.execute(progress); setCompleted(true); } catch (java.io.IOException e) {  } catch (InterruptedException e) {  }  SwingUtilities.invokeLater(new Runnable() { public void run() {   closeDialog(new WindowEvent(RunAnalysisDialog.this, WindowEvent.WINDOW_CLOSING)); } }); } };
    public RunAnalysisDialog(java.awt.Frame parent, boolean modal) {        super(parent, modal);        initComponents();    }