Object result = inputMap.get(keystroke);
Object result = null; if (inputMap != null) result = inputMap.get(keystroke);
  public Object get(KeyStroke keystroke)  {    Object result = inputMap.get(keystroke);    if (result == null && parent != null)			result = parent.get(keystroke);		return result;  }