public void handleKeyEvent(KeyEvent event) {
		
	    key = event.getKeyChar();
	    keyCode = event.getKeyCode();
		if ((key == KeyEvent.VK_ESCAPE)) {
			event.setKeyChar(' ');
			event.setKeyCode(-1);
		}
		super.handleKeyEvent(event);
	}