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