if (setCaptionsWithFilenames.isSelected()) {
if (setCaptionWithFilename.isSelected()) {
	public void resetUIState() {		if (resizeBeforeUpload.isSelected()) {			resizeToDefault.setEnabled(true);			resizeToForce.setEnabled(true);			if (resizeToForce.isSelected()) {				resizeToHeight.setEnabled(true);				resizeToWidth.setEnabled(true);				resizeToHeight.setBackground(UIManager.getColor("TextField.background"));				resizeToWidth.setBackground(UIManager.getColor("TextField.background"));			} else {				resizeToHeight.setEnabled(false);				resizeToWidth.setEnabled(false);				resizeToHeight.setBackground(UIManager.getColor("TextField.inactiveBackground"));				resizeToWidth.setBackground(UIManager.getColor("TextField.inactiveBackground"));			}		} else {			resizeToDefault.setEnabled(false);			resizeToForce.setEnabled(false);			resizeToHeight.setEnabled(false);			resizeToWidth.setEnabled(false);			resizeToHeight.setBackground(UIManager.getColor("TextField.inactiveBackground"));			resizeToWidth.setBackground(UIManager.getColor("TextField.inactiveBackground"));		}		if (setCaptionsWithFilenames.isSelected()) {			captionStripExtension.setEnabled(true);		} else {			captionStripExtension.setEnabled(false);		}	}