JComponent () { JComponent buttons = super.createSouthPanel(); JPanel panel = new JPanel(new VerticalFlowLayout()); panel.add(new JBLabel(XmlStringUtil.wrapInHtml(myRollbackProposal))); if (buttons != null) { panel.add(buttons); } return panel; }