boolean (MouseEvent event, XDebuggerTree watchTree, boolean fullWidth) { Rectangle bounds = watchTree.getRowBounds(watchTree.getLeadSelectionRow()); if (bounds != null) { if (fullWidth) { bounds.x = 0; } bounds.width = watchTree.getWidth(); if (bounds.contains(event.getPoint())) { return true; } } return false; }