props.setBooleanProperty(SET_CAPTIONS_WITH_FILENAMES, setCaptionsWithFilenames.isSelected());
props.setBooleanProperty(SET_CAPTIONS_NONE, setCaptionNone.isSelected());  props.setBooleanProperty(SET_CAPTIONS_WITH_FILENAMES, setCaptionWithFilename.isSelected());
	public void writeProperties(PropertiesFile props) {		props.setBooleanProperty(RESIZE_BEFORE_UPLOAD, resizeBeforeUpload.isSelected());		if (resizeBeforeUpload.isSelected()) {			Dimension d = null;			if (resizeToDefault.isSelected()) {				d = new Dimension(0, 0);			} else {				try {					d = new Dimension(Integer.parseInt(resizeToWidth.getText()), Integer.parseInt(resizeToHeight.getText()));				} catch (Exception e) {					Log.log(Log.LEVEL_ERROR, MODULE, "resizeTo size should be integer numbers");				}			}			if (d != null) {				props.setDimensionProperty(RESIZE_TO, d);			}		}		props.setBooleanProperty(SET_CAPTIONS_WITH_FILENAMES, setCaptionsWithFilenames.isSelected());		props.setBooleanProperty(CAPTION_STRIP_EXTENSION, captionStripExtension.isSelected());		props.setBooleanProperty(HTML_ESCAPE_CAPTIONS, !htmlEscapeCaptionsNot.isSelected());		props.setBooleanProperty(EXIF_AUTOROTATE, exifAutorotate.isSelected());	}