InputMap keyMap = getInputMap(JComponent.WHEN_FOCUSED); SwingUtilities.replaceUIInputMap(slider, JComponent.WHEN_FOCUSED, keyMap); ActionMap map = getActionMap(); SwingUtilities.replaceUIActionMap(slider, map);
  protected void installKeyboardActions(JSlider slider)    throws NotImplementedException  {    // FIXME: implement.  }