@Override protected void buildPropertiesPanel() { super.buildPropertiesPanel(); JComponent buttonBar = new ButtonBarBuilder().addGlue().addButton(_applyButton, _discardButton).build(); buttonBar.setBorder(Borders.DIALOG); _propertiesPanel.add(buttonBar, BorderLayout.SOUTH); }