m_samplingControlPanel.get(properties);
        public void actionPerformed(ActionEvent event)	{	    // Good grief. We have to create a brand new dialog each	    // time otherwise the button we pressed to last close the	    // dialog goes "deaf", leaving the user with no choice but	    // to chose a different option. I believe this to be a	    // Swing bug.	    final JDialog dialog =		m_optionPane.createDialog(m_frame,					  m_resources.getString(					      "options.label"));	    dialog.pack();	    dialog.setLocationRelativeTo(m_frame);	    final ConsoleProperties properties = m_model.getProperties();	    m_multicastAddress.setText(properties.getMulticastAddress());	    m_consolePort.setValue(properties.getConsolePort());	    m_grinderPort.setValue(properties.getGrinderPort());	    m_sfSlider.setValue(properties.getSignificantFigures());	    m_samplingControlPanel.set(properties);	    m_optionPane.setValue(null);	    dialog.setVisible(true);	    final Object value = m_optionPane.getValue();	    if (value != m_options[1]) {		properties.setMulticastAddress(m_multicastAddress.getText());		properties.setConsolePort(m_consolePort.getValue());		properties.setGrinderPort(m_grinderPort.getValue());		properties.setSignificantFigures(m_sfSlider.getValue());		ConsoleUI.this.m_samplingControlPanel.set(properties);		if (value == m_options[2]) {		    try {			properties.save();		    }		    catch (GrinderException e) {			final Exception nested = e.getNestedException();			JOptionPane.showMessageDialog(			    m_frame,			    (nested != null ? nested : e).getMessage(),			    m_resources.getString("fileError.title"),			    JOptionPane.ERROR_MESSAGE);		    }		}	    }	}