if (album == null || !(album instanceof Album)) { return null; } else { return (Album) album; }
if (!(album instanceof Album)) { return(null); }    if (album == null) {  jAlbumTree.setSelectionRow(0); album = jAlbumTree.getLastSelectedPathComponent();  if (album == null || !(album instanceof Album)) { return null; } }  return (Album) album;
	public Album getCurrentAlbum() {		Object album = jAlbumTree.getLastSelectedPathComponent();		if (album == null || !(album instanceof Album)) {			return null;		} else {			return (Album) album;		}	}