public static void setButtonActions(@NotNull JComponent component,
                                      Collection<? extends JButton> buttons,
                                      Collection<? extends JButton> principal,
                                      JButton defaultButton) {
    setButtonActions(component, buttons, principal, defaultButton, null);
  }
public static void setButtonActions(@NotNull JComponent component,
                                      Collection<? extends JButton> buttons,
                                      Collection<? extends JButton> principal,
                                      JButton defaultButton)