code: public static ActionListener addAction(BaseComponent component, String action) {
          return addAction(component, createAction(action));
      }
docs: Adds/removes an action listener to/from a component using the default click trigger event.
  
  @param component Component to be associated with the action.
  @param action Action to invoke when listener event is triggered. This may be either the
  action script or a registered action name. If empty or null, dissociates the event
  listener from the component.
  @return The newly created action listener.