gallery.newAlbum(a, ((MainFrame) this.getOwner()).jStatusBar);
newAlbumName = gallery.newAlbum(a, ((MainFrame) this.getOwner()).jStatusBar);
	public void actionPerformed( ActionEvent e ) {		String command = e.getActionCommand();		Log.log(Log.INFO, MODULE, "Command selected " + command);				if ( command.equals( "Cancel" ) ) {			setVisible(false);		} else if ( command.equals( "OK" ) ) {			Album a = new Album();			a.setName(name.getText());			a.setTitle(title.getText());			a.setCaption(description.getText());						Album selectedAlbum = (Album) album.getSelectedItem();			if (selectedAlbum == rootAlbum) {				Log.log(Log.TRACE, MODULE, "Selected root album");				a.setParentAlbum(null);			} else {				a.setParentAlbum(selectedAlbum);			}						gallery.newAlbum(a, ((MainFrame) this.getOwner()).jStatusBar);						setVisible(false);		}	}