@Override
	public void doAction (String o)
	{
		Global.notewindow(this, "messagedialog");
		if (Global.resourceString("Close").equals(o))
		{
			doclose();
		}
		else if (Global.resourceString("Answer").equals(o))
		{
			String User = UserChoice.getSelectedItem();
			if (User != null && !Answer.getText().equals(""))
			{
				Out.println("tell " + User + " " + Answer.getText());
				CF.append(Global.resourceString("Answer_") + User + ": "
					+ Answer.getText());
				T.append("\n" + Global.resourceString("_____Answer_to_") + User
					+ "\n");
				T.append(Answer.getText());
				Answer.setText("");
			}
		}
		else if (Global.resourceString("Send_as_Command").equals(o))
		{
			if ( !Answer.getText().equals(""))
			{
				CF.command(Answer.getText());
				Answer.setText("");
			}
		}
		else super.doAction(o);
	}