layout.center(createTablePanel(objects, objectClass));
JPanel buttonPanel = getButtonPanel(OK_CANCEL, 10);
buttonPanel.setBorder(Empty.border(10, 0, 10, 0));
Component bottom = getBottomMessageComponent(bottomMessage);
if (bottom == null) {
layout.south(buttonPanel);
} else {
Grid grid = new Grid(2, 1, 0, 10);
grid.addAll(bottom, buttonPanel);
layout.south(grid);
}