public static @NotNull JPanel wrapWithoutStretch(@NotNull JComponent component) {
    JPanel panel = new JPanel(new FlowLayout(FlowLayout.LEFT, 0, 0));
    panel.add(component);
    return panel;
  }
public static @NotNull JPanel wrapWithoutStretch(@NotNull JComponent component)