if (bindings == null) { bindings = new JTextComponent.KeyBinding[0]; defaults.put(prefix + ".keyBindings", bindings); }
  protected Keymap createKeymap()  {    String prefix = getPropertyPrefix();    UIDefaults defaults = UIManager.getLookAndFeelDefaults();    JTextComponent.KeyBinding[] bindings =       (JTextComponent.KeyBinding[]) defaults.get(prefix + ".keyBindings");    Keymap km = JTextComponent.addKeymap(getKeymapName(),                                          JTextComponent.getKeymap(JTextComponent.DEFAULT_KEYMAP));        JTextComponent.loadKeymap(km, bindings, textComponent.getActions());    return km;      }