if (jOverride.isSelected()) { props.setColorProperty(SLIDESHOW_COLOR, jBackgroundColor.getSelectedColor()); } else { props.remove(SLIDESHOW_COLOR); } GalleryRemoteCore core = GalleryRemote._().getCore(); if (core instanceof MainFrame) { ((MainFrame) core).previewFrame.repaint(); }
	public void writeProperties(PropertiesFile props) {		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.setIntProperty(SLIDESHOW_DELAY, Integer.parseInt(jDelay.getText()));	}