public static JPanel infoPanel(@NotNull @Nls String header, @Nls @NotNull String text) {
    //noinspection HardCodedStringLiteral
    final JLabel label = new JLabel(XmlStringUtil.wrapInHtml(
      "<h4>" + StringUtil.escapeXmlEntities(header) + "</h4>" + escapeXmlAndAddBr(text)));
    final JPanel wrapper = new JPanel(new GridBagLayout());
    wrapper.add(label, new GridBagConstraints(0, 0, 1, 1, 0, 0, GridBagConstraints.CENTER, GridBagConstraints.NONE, JBUI.insets(1), 0, 0));
    return wrapper;
  }
public static JPanel infoPanel(@NotNull @Nls String header, @Nls @NotNull String text)