public static void setActions(@NotNull JComponent component, @NotNull String actionId) {
    setActions(component, ActionManager.getInstance().getAction(actionId));
  }
public static void setActions(@NotNull JComponent component, @NotNull String actionId)