InputMap keyMap = getInputMap( JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT); SwingUtilities.replaceUIInputMap(sp, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, keyMap); ActionMap map = getActionMap(); SwingUtilities.replaceUIActionMap(sp, map);
  protected void installKeyboardActions(JScrollPane sp)    throws NotImplementedException  {    // TODO: Is this only a hook method or should we actually do something    // here? If the latter, than figure out what and implement this.  }