private boolean checkInputMethodSelectionKey(KeyEvent event){
  if (inputMethodSelectionKey != null) {
    AWTKeyStroke aKeyStroke=AWTKeyStroke.getAWTKeyStrokeForEvent(event);
    return inputMethodSelectionKey.equals(aKeyStroke);
  }
 else {
    return false;
  }
}

private boolean checkInputMethodSelectionKey ( KeyEvent event ) { if ( inputMethodSelectionKey != null ) { AWTKeyStroke aKeyStroke = AWTKeyStroke . getAWTKeyStrokeForEvent ( event ) ; return inputMethodSelectionKey . equals ( aKeyStroke ) ; } else { return false ; } }
checks the key event is the input method selection key or not .
