private void prepareSystemSettings(@NotNull SystemSettings s) {
    mySystemSettingsControl = createSystemSettingsControl(s);
    if (mySystemSettingsControl != null) {
      PaintAwarePanel panel = new PaintAwarePanel();
      GridBag constraints = new GridBag().weightx(1).coverLine().fillCellHorizontally().anchor(GridBagConstraints.WEST);
      constraints.insetBottom(UIUtil.DEFAULT_VGAP);
      myComponent.add(panel, constraints);

      constraints = ExternalSystemUiUtil.getFillLineConstraints(0);
      constraints.insets.top = 0;

      panel.add(new TitledSeparator(ExternalSystemBundle.message("settings.title.system.settings")), constraints);
      mySystemSettingsControl.fillUi(panel, 1);
    }
  }
private void prepareSystemSettings(@NotNull SystemSettings s)