@Override
    public @NotNull Dimension minimumLayoutSize(Container container) {
      return preferredLayoutSize(container);
    }
@Override
    public @NotNull Dimension minimumLayoutSize(Container container)