logger.logMessage(ConsoleLogger.ERROR, e.getMessage());
    public RunAnalysisDialog(java.awt.Frame parent, AnalysisRun analysisRun_) {        super(parent, true);        initComponents();        this.analysisRun = analysisRun_;        this.completed = false;                // Create a progress callback to give the user feedback        // about how far along we are.        final FindBugsProgress progress = new RunAnalysisProgress();                // This is the thread that will actually run the analysis.        this.analysisThread = new Thread() {            public void run() {                try {                    analysisRun.execute(progress);                    setCompleted(true);                } catch (java.io.IOException e) {                    // TODO: log the exception                } catch (InterruptedException e) {                    // TODO: log the fact that the user cancelled the analysis                    System.out.println("User cancelled the analysis!");                }                // Send a message to the dialog that it should close                // That way, it goes away without any need for user intervention                SwingUtilities.invokeLater(new Runnable() {                    public void run() {                        closeDialog(new WindowEvent(RunAnalysisDialog.this, WindowEvent.WINDOW_CLOSING));                    }                });            }        };    }