@Override
  protected @Nullable JComponent createCenterPanel() {
    JPanel contentPane = new JPanel();
    contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.X_AXIS));
    JLabel iconLabel = new JLabel(UIUtil.getQuestionIcon());
    iconLabel.setAlignmentY(Component.TOP_ALIGNMENT);
    contentPane.add(iconLabel);
    contentPane.add(Box.createRigidArea(JBUI.size(10)));
    JPanel messagePane = new JPanel();
    messagePane.setLayout(new BoxLayout(messagePane, BoxLayout.Y_AXIS));
    messagePane.setAlignmentY(Component.TOP_ALIGNMENT);
    JBLabel titleLabel = new JBLabel(ApplicationBundle.message("light.edit.confirmation.content.title"));
    titleLabel.setFont(titleLabel.getFont().deriveFont(Font.BOLD));
    messagePane.add(titleLabel);
    messagePane.add(Box.createRigidArea(JBUI.size(10)));
    JBLabel textLabel = new JBLabel();
    textLabel.setAllowAutoWrapping(false);
    String text = ApplicationBundle.message("light.edit.confirmation.content.text");
    //noinspection HardCodedStringLiteral
    textLabel.setText(text.replaceAll("\\s", "&nbsp;"));
    messagePane.add(textLabel);
    messagePane.add(Box.createRigidArea(JBUI.size(10)));
    JCheckBox dontAskBox = new JCheckBox(ApplicationBundle.message("light.edit.confirmation.do.not.ask"));
    dontAskBox.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        myDontAskFlag = dontAskBox.isSelected();
      }
    });
    messagePane.add(dontAskBox);
    messagePane.add(Box.createRigidArea(JBUI.size(10)));
    contentPane.add(messagePane);
    contentPane.add(Box.createRigidArea(JBUI.size(20)));
    return contentPane;
  }
@Override
  protected @Nullable JComponent createCenterPanel()