@Override
        public boolean dispatchKeyEvent(KeyEvent e) {
            if (e.getID() == KeyEvent.KEY_RELEASED) {            	
            	if (e.getKeyCode() == KeyEvent.VK_ENTER) { 
            	//user pressed enter: try to submit response
            		if (responseField.getText().length() > 0) {
            			//response long enough: submit it
            			submitResponse(responseField.getText());
            		} //else: just do nothing!
            	} else {
            	//user pressed different key -> we might have to write away RT
            		if (listenToFirstKeypress) {
            			//not RT to first keypress saved already -> do so now
            			Experiment.xp.removeResponseTimer();
            			listenToFirstKeypress = false;
            			timeAtAssociationsFirstKeypress = System.currentTimeMillis();
            		}
            	}			
            } 
            return false; //do not perform default action
        }