jApply.setEnabled(false); }
jApply.setEnabled(false); jName.setEditable(false); jName.setBackground(UIManager.getColor("TextField.inactiveBackground")); jTitle.setEditable(false); jTitle.setBackground(UIManager.getColor("TextField.inactiveBackground")); jSummary.setEditable(false); jSummary.setBackground(UIManager.getColor("TextField.inactiveBackground"));  jPictures.setEditable(false); jPictures.setBackground(UIManager.getColor("TextField.inactiveBackground"));
	public void setAlbum(Album album) {		boolean oldIgnoreItemChanges = ignoreItemChanges;		ignoreItemChanges = true;		this.album = album;		if (album == null) {			/*setActive(jName, false);			setActive(jTitle, false);			setActive(jSummary, false);*/			jName.setText("");			jTitle.setText("");			jSummary.setText("");			jPictures.setText("");			setEnabledInternal(false);		} else {			setEnabledInternal(true);			//setActive(jName, true);			jName.setText(album.getName());			//setActive(jTitle, true);			jTitle.setText(album.getTitle());			//setActive(jSummary, true);			jSummary.setText(album.getSummary());			jPictures.setText("" + album.getSize());			jResizeBeforeUpload.setSelected(album.getResize());			jResizeToDefault.setSelected(album.getResizeDefault());			jResizeToForce.setSelected(!album.getResizeDefault());			jResizeToWidth.setText("" + album.getResizeDimension().width);			jResizeToHeight.setText("" + album.getResizeDimension().height);			jBeginning.setSelected(album.getAddToBeginning());			jFetch.setEnabled(album.getGallery().getComm(mf.jStatusBar).hasCapability(mf.jStatusBar, GalleryCommCapabilities.CAPA_FETCH_ALBUM_IMAGES));			jMove.setEnabled(album.getGallery().getComm(mf.jStatusBar).hasCapability(mf.jStatusBar, GalleryCommCapabilities.CAPA_MOVE_ALBUM));			// todo			jApply.setEnabled(false);		}		resetUIState();		ignoreItemChanges = oldIgnoreItemChanges;	}