public void actionPerformed(ActionEvent ae)
	{
		if (mApply.equals(ae.getSource()) || mOK.equals(ae.getSource()))
		{
			for (int i = 0; i < mPanels.size(); i++)
			{
				E5OptionPanel panel = (E5OptionPanel) mPanels.elementAt(i);

				panel.savePreferences(mPreferences);
			}
		}

		if (mCancel.equals(ae.getSource()) || mOK.equals(ae.getSource()))
		{
			setVisible(false);
		}
	}