Object node = pathForRow.getLastPathComponent(); return tree.getModel().isLeaf(node); }
Object node = pathForRow.getLastPathComponent(); return treeModel.isLeaf(node); }
	protected boolean isLeaf(int row)	{      TreePath pathForRow = getPathForRow(tree, row);      if (pathForRow == null)         return true;      Object node = pathForRow.getLastPathComponent();    return tree.getModel().isLeaf(node);	}