pp.writeProperties(GalleryRemote.getInstance().properties);
if (pp.hasBeenRead()) { Log.log(Log.TRACE, MODULE, "Writing properties for panel " + pp.getClass());  pp.writeProperties(GalleryRemote.getInstance().properties); }
	public void actionPerformed(ActionEvent e) {		String cmd = e.getActionCommand();		Log.log(Log.INFO, MODULE, "Command selected " + cmd);		if (cmd.equals("OK")) {			GalleryRemote.getInstance().properties.uncache();						Enumeration enum = panels.elements();			while (enum.hasMoreElements()) {				PreferencePanel pp = (PreferencePanel) enum.nextElement();				pp.writeProperties(GalleryRemote.getInstance().properties);			}			setVisible(false);			Log.log(Log.TRACE, MODULE, "Updating preferences");			((MainFrame) getOwner()).readPreferences(oldProperties);		} else if (cmd.equals("Cancel")) {