code: protected void addActionKeyBinding(KeyStroke key, String actionKey, Action action) {
  		getInputMap().put(key, actionKey);
  		getActionMap().put(actionKey, action);
  	}
docs: Add an action key binding to this dialog.
  
  @param key the {@link KeyStroke} that triggers the command/action.
  @param actionKey id of the action.
  @param action {@link Action} that will be triggered by the {@link KeyStroke}.
  
  @see #getActionMap()
  @see #getInputMap()
  @see ActionMap#put(Object, Action)
  @see InputMap#put(KeyStroke, Object)