props.setIntProperty(SLIDESHOW_ALBUM, ((LocationItem) jAlbum.getSelectedItem()).id);
	public void writeProperties(PropertiesFile props) {		if (jNoStretch.isSelected() != props.getBooleanProperty(SLIDESHOW_NOSTRETCH)) {			ImageUtils.purgeTemp();			GalleryRemote._().getCore().flushMemory();		}		props.setIntProperty(SLIDESHOW_PROGRESS, ((LocationItem) jProgress.getSelectedItem()).id);		props.setIntProperty(SLIDESHOW_CAPTION, ((LocationItem) jCaption.getSelectedItem()).id);		props.setIntProperty(SLIDESHOW_EXTRA, ((LocationItem) jExtra.getSelectedItem()).id);		props.setIntProperty(SLIDESHOW_URL, ((LocationItem) jUrl.getSelectedItem()).id);		props.setBooleanProperty(SLIDESHOW_LOWREZ, jLowRez.isSelected());		props.setBooleanProperty(SLIDESHOW_RANDOM, jRandom.isSelected());		props.setBooleanProperty(SLIDESHOW_NOSTRETCH, jNoStretch.isSelected());		props.setBooleanProperty(SLIDESHOW_PRELOADALL, jPreloadAll.isSelected());		props.setBooleanProperty(SLIDESHOW_LOOP, jLoop.isSelected());		props.setIntProperty(SLIDESHOW_DELAY, jDelay.getValue() / 1000);		props.setIntProperty(SLIDESHOW_TRANSITION_DURATION, jTransition.getValue());		if (jOverride.isSelected()) {			props.setColorProperty(SLIDESHOW_COLOR, jBackgroundColor.getSelectedColor());		} else {			props.setProperty(SLIDESHOW_COLOR, null);		}		GalleryRemoteCore core = GalleryRemote._().getCore();		if (!GalleryRemote._().isAppletMode()) {			((MainFrame) core).previewFrame.repaint();		}	}