@Override
    protected @Nullable JComponent createCenterPanel() {
      JPanel panel = new JPanel(new GridBagLayout());
      GridBagConstraints gc = new GridBagConstraints();

      gc.fill = GridBagConstraints.HORIZONTAL;

      GridHelper gh = (gridx, gridy, gridwidth, comp) -> {
        gc.gridx = gridx;
        gc.gridy = gridy;
        gc.gridwidth = gridwidth;
        panel.add(comp, gc);
      };

      gh.add(0, 0, 3,
             new JBLabel(IdeBundle.message("dialog.content.jcef.proxyServer", myProxy)));
      gh.add(0, 1, 3,
             new Box.Filler(new Dimension(1, JBUIScale.scale(20)),
                            new Dimension(1, JBUIScale.scale(20)),
                            new Dimension(Short.MAX_VALUE, Short.MAX_VALUE)));
      gh.add(0, 2, 1,
             new JBLabel(IdeBundle.message("dialog.content.label.jcef.login"), SwingConstants.RIGHT));
      gh.add(1, 2, 2,
             myLoginField);
      gh.add(0, 3, 1,
             new JBLabel(IdeBundle.message("dialog.content.label.jcef.password"), SwingConstants.RIGHT));
      gh.add(1, 3, 2,
             myPasswordField);

      if (myLogin != null) myLoginField.setText(myLogin);
      return panel;
    }
@Override
    protected @Nullable JComponent createCenterPanel()