public String getKeyString(int keyCode)
	{
		String str = "";
		if (keyCode == KeyEvent.VK_LEFT)
			str = "LEFT";
		else if (keyCode == KeyEvent.VK_RIGHT)
			str = "RIGHT";
		else if (keyCode == KeyEvent.VK_UP)
			str = "UP";
		else if (keyCode == KeyEvent.VK_DOWN)
			str = "DOWN";
		else if (keyCode == KeyEvent.VK_SPACE)
			str = "SPACEBAR";
		else if (keyCode == KeyEvent.VK_ENTER)
			str = "ENTER";
		else
		{
			char ch = (char) KeyEvent.getExtendedKeyCodeForChar(keyCode);
			str += ch;
		}
		return str;
	}