if (viewBugDetailsItem.isSelected()) { bugTreeBugDetailsSplitter.resetToPreferredSizes(); } else { bugTreeBugDetailsSplitter.setDividerLocation(1.0);
String view = getView(); if (view.equals("BugTree")) { checkBugDetailsVisibility();
    private void viewBugDetailsItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_viewBugDetailsItemActionPerformed        if (viewBugDetailsItem.isSelected()) {            bugTreeBugDetailsSplitter.resetToPreferredSizes();        } else {            bugTreeBugDetailsSplitter.setDividerLocation(1.0);        }    }//GEN-LAST:event_viewBugDetailsItemActionPerformed