int width = 8;
int width;
  protected boolean isLocationInExpandControl(TreePath path, int mouseX,                                              int mouseY)  {    boolean cntlClick = false;    if (! treeModel.isLeaf(path.getLastPathComponent()))      {        int width = 8; // Only guessing.        Icon expandedIcon = getExpandedIcon();        if (expandedIcon != null)          width = expandedIcon.getIconWidth();        Insets i = tree.getInsets();        int left = getRowX(tree.getRowForPath(path), path.getPathCount() - 1)                   -getRightChildIndent() - width / 2 + i.left;        cntlClick = mouseX >= left && mouseX <= left + width;      }    return cntlClick;  }