buttonRow.setOpaque(false);
buttonRow.addAll(buttons);
BoxBuilder controlPanel = BoxBuilder.horizontal();
controlPanel.glue().add(buttonRow).glue();
controlPanel.setOpaque(false);
controlPanel.decorate(canvas);
}
private List<JButton> createButtonsForDialog() {
List<JButton> buttons = new ArrayList<JButton>();
buttons.add(new KongaButton(goBack));