private @NotNull Supplier<@NotNull Insets> insetsSupplier(
    @NotNull Supplier<Integer> directionalGapUnscaledSupplier,
    @NotNull Supplier<Integer> orthogonalGapUnscaledSupplier
  ) {
    return () -> {
      var directionalGap = directionalGapUnscaledSupplier.get();
      var orthogonalGap = orthogonalGapUnscaledSupplier.get();
      //noinspection UseDPIAwareInsets
      return myOrientation == SwingConstants.VERTICAL
             ? new Insets(directionalGap, orthogonalGap, directionalGap, orthogonalGap)
             :  new Insets(orthogonalGap, directionalGap, orthogonalGap, directionalGap);
    };
  }
private @NotNull Supplier<@NotNull Insets> insetsSupplier(
    @NotNull Supplier<Integer> directionalGapUnscaledSupplier,
    @NotNull Supplier<Integer> orthogonalGapUnscaledSupplier
  )