return treePath.getLastPathComponent();
if (treePath != null){ return treePath.getLastPathComponent(); } else{ return null; }
    public Object nodeForRow(int row) {        TreePath treePath = tree.getPathForRow(row);        return treePath.getLastPathComponent();    }