Separator separator = separators.get(sectionIndex);
separator.setHeading(section.getHeading());
}
private void updateFieldName(Form.Section section, int fieldIndex) {
Form form = (Form)getComponent();
Component field = section.get(fieldIndex);
int sectionIndex = form.getSections().indexOf(section);
Label label = labels.get(sectionIndex).get(fieldIndex);
String name = Form.getName(field);
label.setText((name == null) ? "" : name + ":");
}