code: public static void associateCommand(String commandName, BaseUIComponent component) {
          associateCommand(commandName, component, (BaseUIComponent) null);
      }
docs: Associates a UI component with a command.
  
  @param commandName Name of the command.
  @param component Component to be associated.