@Override
	public void keyTyped(KeyEvent e) {
		if (e.getKeyChar() == '\b') {
			enteredName = enteredName.substring(0,
					Math.max(0, enteredName.length() - 1));
		} else if (!Character.isISOControl(e.getKeyChar())
				&& e.getKeyChar() != KeyEvent.CHAR_UNDEFINED) {
			enteredName += e.getKeyChar();
		}
		getScreen().repaint();
	}