Object node = path.getLastPathComponent(); if (treeModel != null && (!isLeaf && !node.equals(treeModel.getRoot())) && (tree.isRootVisible() || getLevel(node) != 1)) return true;
  protected boolean shouldPaintExpandControl(TreePath path, int row,                                             boolean isExpanded,                                             boolean hasBeenExpanded,                                             boolean isLeaf)  {    // FIXME: not implemented.    return false;  }