"p, {0}px, p, {0}px, p, {1}px, " +
"p, {0}px, p, {0}px, p, {0}px, p, {1}px, " +
"p, {1}px:grow, " +
"p", spcInGroup, spcBetweenGroups);
BBFormBuilder builder = new BBFormBuilder(cols);
registerActionShortcut(undoAction, KeyEvent.VK_Z, Event.CTRL_MASK);
registerActionShortcut(redoAction, KeyEvent.VK_Z, Event.CTRL_MASK | Event.SHIFT_MASK);
builder.append(createButton(alignLeftAction, iconAlignLeft, -1, -1));
builder.append(createButton(alignCenterAction, iconAlignCenter, -1, -1));
builder.append(createButton(alignRightAction, iconAlignRight, -1, -1));
builder.append(createButton(boldAction, iconStyleBold, KeyEvent.VK_B, Event.CTRL_MASK));
builder.append(createButton(italicAction, iconStyleItalic, KeyEvent.VK_I, Event.CTRL_MASK));
builder.append(createButton(underlineAction, iconStyleUnderline, KeyEvent.VK_U, Event.CTRL_MASK));
builder.append(createButton(strikethroughAction, iconStyleStrikethrough, KeyEvent.VK_S, Event.CTRL_MASK));
builder.append(cbInsertLink);
addCustomControls(builder);
return builder.getPanel();
}