InputMap keyMap = (InputMap) UIManager.get("TabbedPane.focusInputMap"); SwingUtilities.replaceUIInputMap(tabPane, JComponent.WHEN_FOCUSED, keyMap);  keyMap = (InputMap) UIManager.get("TabbedPane.ancestorInputMap"); SwingUtilities .replaceUIInputMap(tabPane, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, keyMap);  ActionMap map = getActionMap(); SwingUtilities.replaceUIActionMap(tabPane, map);
  protected void installKeyboardActions()    throws NotImplementedException  {    // FIXME: Implement.  }