a.setSuppressEvents(false);
	public void actionPerformed(ActionEvent e) {		String command = e.getActionCommand();		Log.log(Log.LEVEL_INFO, MODULE, "Command selected " + command);		if (command.equals("Cancel")) {			setVisible(false);		} else if (command.equals("OK")) {			Album a = new Album(gallery);			a.setName(jName.getText());			a.setTitle(jTitle.getText());			a.setCaption(jDescription.getText());			Album selectedAlbum = (Album) jAlbum.getSelectedItem();			if (selectedAlbum == rootAlbum) {				Log.log(Log.LEVEL_TRACE, MODULE, "Selected root album");				a.setParentAlbum(null);			} else {				a.setParentAlbum(selectedAlbum);			}			newAlbumName = gallery.newAlbum(a, GalleryRemote._().getCore().getMainStatusUpdate());			if (newAlbumName == null) {				newAlbumName = jName.getText();			}			setVisible(false);		}	}