@Override public void keyPressed(KeyEvent e) { if ( e.getKeyChar() == \'x\' ) { Clicking = true; } try {