code: public static ActionListener removeAction(BaseComponent component, String eventName) {
          ActionListener listener = getListener(component, eventName);
          
          if (listener != null) {
              listener.removeAction();
          }
          
          return listener;
      }
docs: Removes any action associated with a component.
  
  @param component Component whose action is to be removed.
  @param eventName The event whose associated action is being removed.
  @return The removed deferred event listener, or null if none found.