@Override
  protected void init() {
    super.init();

    Map<CodeStyleSettingPresentation.SettingsGroup, List<CodeStyleSettingPresentation>> settings = CodeStyleSettingPresentation
      .getStandardSettings(getSettingsType());

    List<IntOption> keepBlankLinesOptionsGroup =
      getOptions(getInstance().BLANK_LINES_KEEP, settings.get(new CodeStyleSettingPresentation.SettingsGroup(
        getInstance().BLANK_LINES_KEEP)));
    List<IntOption> blankLinesOptionsGroup =
      getOptions(getInstance().BLANK_LINES, settings.get(new CodeStyleSettingPresentation.SettingsGroup(
        getInstance().BLANK_LINES)));
    CodeStyleBlankLinesUI ui = new CodeStyleBlankLinesUI(getInstance(), myRenamedFields, keepBlankLinesOptionsGroup, blankLinesOptionsGroup);
    JPanel optionsPanel = ui.panel;
    optionsPanel.setBorder(JBUI.Borders.empty(0, 10));
    JScrollPane scroll = ScrollPaneFactory.createScrollPane(optionsPanel, true);
    scroll.setMinimumSize(new Dimension(optionsPanel.getPreferredSize().width + scroll.getVerticalScrollBar().getPreferredSize().width + 5, -1));
    scroll.setPreferredSize(scroll.getMinimumSize());

    myPanel
      .add(scroll,
           new GridBagConstraints(0, 0, 1, 1, 0, 1, GridBagConstraints.NORTH, GridBagConstraints.BOTH, JBInsets.emptyInsets(), 0, 0));

    final JPanel previewPanel = createPreviewPanel();
    myPanel
      .add(previewPanel,
           new GridBagConstraints(1, 0, 1, 1, 1, 1, GridBagConstraints.NORTH, GridBagConstraints.BOTH, JBInsets.emptyInsets(), 0, 0));

    installPreviewPanel(previewPanel);
    addPanelToWatch(myPanel);

    myIsFirstUpdate = false;
  }
@Override
  protected void init()