viewProjectItem.setSelected(!viewingBugs); if (viewingBugs) viewBugsItem.setEnabled(true); viewBugsItem.setSelected(viewingBugs);
    private void setView(String viewName) {        //System.out.println("Showing view " + viewName);        viewPanelLayout.show(viewPanel, viewName);        if (viewName.equals("BugTree"))            checkBugDetailsVisibility();        currentView = viewName;    }