@Override
	public void doAction (String o)
	{
		Global.notewindow(this, "matchdialog");
		if (Global.resourceString("Close").equals(o))
		{
			setVisible(false);
			dispose();
		}
		else if (Global.resourceString("Send_Command").equals(o))
		{
			if ( !Answer.getText().equals(""))
			{
				CF.command(Answer.getText());
				Answer.setText("");
			}
		}
		else if (Global.resourceString("Accept").equals(o))
		{
			Out.println(Accept);
			CF.append("--> " + Accept);
			setVisible(false);
			dispose();
		}
		else if (Global.resourceString("Decline").equals(o))
		{
			Out.println(Decline);
			CF.append("--> " + Decline);
			setVisible(false);
			dispose();
		}
		else if (Global.resourceString("Status").equals(o))
		{
			if (User != null)
				Out.println("stats " + User);
			else Answer.setText("stats ");
		}
		else super.doAction(o);
	}