public void keyReleased(KeyEvent e){

        KeyEvent nextPress = (KeyEvent)Toolkit.getDefaultToolkit().getSystemEventQueue().peekEvent(KeyEvent.KEY_PRESSED);

        if ((nextPress == null) || (nextPress.getWhen() != e.getWhen()) || (nextPress.getKeyCode() != e.getKeyCode()))
        {
    		for(ListenerQueuePair pair: this.handlers) {
        		             	
        		pair.getQueue().add(new KeyReleaseEvent(
        				e.getKeyCode(), 
        				(MinuetoKeyboardHandler)pair.getListener()));
        	}
        }
    }