formLayoutTable.setRowCount(getChildComponents().size());
for (ComponentConnector child : getChildComponents()) {
Widget childWidget = child.getWidget();
Caption caption = formLayoutTable.getCaption(childWidget);
if (caption == null) {
caption = formLayout.new Caption(child);
caption.addClickHandler(formLayoutTable);
}
ErrorFlag error = formLayoutTable.getError(childWidget);
if (error == null) {
error = formLayout.new ErrorFlag(child);