LinkedList path = new LinkedList();  path.addFirst(album);  Album parent = null; while ((parent = album.getParentAlbum()) != null) { path.addFirst(parent); album = parent; }  path.addFirst(root);  return new TreePath(path.toArray());
return new TreePath(getObjectArrayForAlbum(album));
	public TreePath getPathForAlbum(Album album) {		LinkedList path = new LinkedList();		path.addFirst(album);		Album parent = null;		while ((parent = album.getParentAlbum()) != null) {			path.addFirst(parent);			album = parent;		}		path.addFirst(root);		return new TreePath(path.toArray());	}