boolean hasAnalysisRun = currentAnalysisRun != null; saveBugsItem.setEnabled(hasAnalysisRun);
    private void fileMenuMenuSelected(javax.swing.event.MenuEvent evt) {//GEN-FIRST:event_fileMenuMenuSelected        // Save and close project items are only enabled if there is a project open.        boolean hasProject = getCurrentProject() != null;        saveProjectItem.setEnabled(hasProject);        saveProjectAsItem.setEnabled(hasProject);	reloadProjectItem.setEnabled(hasProject);        closeProjectItem.setEnabled(hasProject);    }//GEN-LAST:event_fileMenuMenuSelected