setCaptionsWithFilenames.setSelected(props.getBooleanProperty(SET_CAPTIONS_WITH_FILENAMES));
setCaptionNone.setSelected(props.getBooleanProperty(SET_CAPTIONS_NONE));  setCaptionWithFilename.setSelected(props.getBooleanProperty(SET_CAPTIONS_WITH_FILENAMES));
	public void readProperties(PropertiesFile props) {		resizeBeforeUpload.setSelected(props.getBooleanProperty(RESIZE_BEFORE_UPLOAD));		if (new Dimension(0, 0).equals(props.getDimensionProperty(RESIZE_TO))) {			// use default dimension			resizeToDefault.setSelected(true);		} else {			resizeToForce.setSelected(true);			resizeToWidth.setText("" + (int) props.getDimensionProperty(RESIZE_TO).getWidth());			resizeToHeight.setText("" + (int) props.getDimensionProperty(RESIZE_TO).getHeight());		}		setCaptionsWithFilenames.setSelected(props.getBooleanProperty(SET_CAPTIONS_WITH_FILENAMES));		captionStripExtension.setSelected(props.getBooleanProperty(CAPTION_STRIP_EXTENSION));		htmlEscapeCaptionsNot.setSelected(!props.getBooleanProperty(HTML_ESCAPE_CAPTIONS));		exifAutorotate.setSelected(props.getBooleanProperty(EXIF_AUTOROTATE));		resetUIState();	}