@Override
	public void keyTyped(KeyEvent e) {
		if (open) {
			if (e.getKeyChar() == KeyEvent.VK_BACK_SPACE && currentMessage.length() > 0) {
				currentMessage = currentMessage.substring(0, currentMessage.length() - 1);
			} else {
				if (currentMessage.length() < MAX_MESSAGE_LENGTH) {
					currentMessage += e.getKeyChar();
				}
			}
		}
	}