Log.log(Log.ERROR, MODULE, "Thumbnail size should be integer numbers");
Log.log(Log.LEVEL_ERROR, MODULE, "Thumbnail size should be integer numbers");
	public void writeProperties(GalleryProperties props) {		props.setBooleanProperty(SHOW_THUMBNAILS, showThumbnails.isSelected());		try {			Dimension d = new Dimension(Integer.parseInt(thumbnailWidth.getText()), Integer.parseInt(thumbnailHeight.getText()));			props.setDimensionProperty(THUMBNAIL_SIZE, d);		} catch (Exception e) {			Log.log(Log.ERROR, MODULE, "Thumbnail size should be integer numbers");		}		props.setBooleanProperty(SAVE_PASSWORDS, savePasswords.isSelected());		props.setIntProperty(LOG_LEVEL, logLevel.getSelectedIndex());		props.setBooleanProperty(UPDATE_CHECK, updateCheck.isSelected());		props.setBooleanProperty(UPDATE_CHECK_BETA, updateCheckBeta.isSelected());		int selectedLocale = jLocale.getSelectedIndex();		if (defaultLocale) {			if (selectedLocale != 0) {				props.setProperty(GR_LOCALE, ((Locale) locales.get(selectedLocale - 1)).toString());			} else {				// still default, don't save it			}		} else {			props.setProperty(GR_LOCALE, ((Locale) locales.get(selectedLocale)).toString());		}	}