@Override
	public void keyPressed(final KeyEvent ke) {
		if ((KeyEvent.getKeyText(ke.getKeyCode()).equals("Enter"))
				|| (KeyEvent.getKeyText(ke.getKeyCode()).equals("Escape"))) {
			setVisible(false);
			dispose();
		}
	}