public static KeyStroke getKeyStrokeForEvent(KeyEvent event) {   int	eventID; int	eventMod;   eventID = event.getID(); eventMod = event.getModifiersEx();   if (eventID == KeyEvent.KEY_TYPED) { return getKeyStroke(event.getKeyChar(), eventMod);   } else { return getKeyStroke(event.getKeyCode(), eventMod); }  }
public static KeyStroke getKeyStrokeForEvent(KeyEvent event) { return (KeyStroke) getAWTKeyStrokeForEvent(event); }
	public static KeyStroke getKeyStrokeForEvent(KeyEvent event) {		// Variables		int	eventID;		int	eventMod;		// Get Event ID		eventID = event.getID();		eventMod = event.getModifiersEx();		// Check for KEY_TYPED event		if (eventID == KeyEvent.KEY_TYPED) {			return getKeyStroke(event.getKeyChar(), eventMod);		// KEY_PRESSED or KEY_RELEASED event		} else {			return getKeyStroke(event.getKeyCode(), eventMod);		} // if	} // getKeyStrokeForEvent()