layout.decorate(canvas);
}
private UiProvider doLayout() {
BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
UiProvider caption = layoutCaption();
UiProvider buttonLayout = buttons.getUi(null, Layout.ONE_COLUMN);
BoxBuilder controlPanel = BoxBuilder.horizontal().glue().add(continueAction);
layout.northToSouth(caption, buttonLayout, controlPanel);
ActionKeyBinding.install(continueAction, layout.container(), JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
return layout;
}