Log.log(Log.INFO, MODULE, "Command selected " + cmd);
Log.log(Log.LEVEL_INFO, MODULE, "Command selected " + cmd);
	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();				if (pp.hasBeenRead()) {					Log.log(Log.TRACE, MODULE, "Writing properties for panel " + pp.getClass());					pp.writeProperties(GalleryRemote.getInstance().properties);				}			}			isOK = true;			setVisible(false);			//Log.log(Log.TRACE, MODULE, "Updating preferences");			//((MainFrame) getOwner()).readPreferences(oldProperties);		} else if (cmd.equals("cancel")) {