jResizeToHeight.setEnabled(false); jResizeToWidth.setEnabled(false); jResizeToHeight.setBackground(UIManager.getColor("TextField.inactiveBackground")); jResizeToWidth.setBackground(UIManager.getColor("TextField.inactiveBackground"));
jResizeTo.setEnabled(false); jResizeTo.setBackground(UIManager.getColor("TextField.inactiveBackground"));
	public void resetUIState() {		boolean oldIgnoreItemChanges = ignoreItemChanges;		ignoreItemChanges = true;		if (album != null && jResizeBeforeUpload.isSelected()) {			jResizeToDefault.setEnabled(true);			jResizeToForce.setEnabled(true);			if (jResizeToForce.isSelected()) {				jResizeToHeight.setEnabled(true);				jResizeToWidth.setEnabled(true);				jResizeToHeight.setBackground(UIManager.getColor("TextField.background"));				jResizeToWidth.setBackground(UIManager.getColor("TextField.background"));			} else {				jResizeToHeight.setEnabled(false);				jResizeToWidth.setEnabled(false);				jResizeToHeight.setBackground(UIManager.getColor("TextField.inactiveBackground"));				jResizeToWidth.setBackground(UIManager.getColor("TextField.inactiveBackground"));			}		} else {			jResizeToDefault.setEnabled(false);			jResizeToForce.setEnabled(false);			jResizeToHeight.setEnabled(false);			jResizeToWidth.setEnabled(false);			jResizeToHeight.setBackground(UIManager.getColor("TextField.inactiveBackground"));			jResizeToWidth.setBackground(UIManager.getColor("TextField.inactiveBackground"));		}		ignoreItemChanges = oldIgnoreItemChanges;	}