@Override
    protected @NotNull JComponent createControls() {
      JPanel outerPanel = new JPanel(new BorderLayout());
      myUseEditorFontBox = new JCheckBox(IdeBundle.message("configurable.console.font.use.editor.font"));
      myUseEditorFontBox.setSelected(isReadOnly());
      myUseEditorFontBox.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent e) {
          if (myUseEditorFontBox.isSelected()) {
            getEditorFontPreferences().copyTo(getFontPreferences());
          }
          updateOnChangedFont();
        }
      });
      myUseEditorFontBox.setBorder(JBUI.Borders.empty(10, 0));
      outerPanel.add(myUseEditorFontBox, BorderLayout.NORTH);
      JComponent innerControls = super.createControls();
      outerPanel.add(innerControls, BorderLayout.CENTER);
      return outerPanel;
    }
@Override
    protected @NotNull JComponent createControls()