BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
JLabel caption = new JLabel("Another test is running.");
caption.setIcon(CommonIcons.WARNING_24);
layout.northToSouth(caption,
sessionDescription, "What do you want to do?");
layout.decorate(canvas);
}
private Action createActionWrapper(String id, ActionListener handler, KongaDialog dialog) {
ActionWrapper a = new ActionWrapper(dialog, handler);
ActionDecorators.decorateFromDictionary(a, DebugActionDictionary.DICTIONARY, id);