if (source == picturesList) {
if (source instanceof Album) {
	public void contentsChanged( ListDataEvent e ) {		Object source = e.getSource();		if (source == picturesList) {			// Also tell MainFrame (ugly, but works around bug in Swing where when			// the list data changes (and nothing remains to be selected), no			// selection change events are fired.			resetUIState();		}	}