for (int sectionIndex = 0, sectionCount = sections.getLength();
sectionIndex < sectionCount; sectionIndex++) {
Form.Section section = sections.get(sectionIndex);
Separator separator = separators.get(sectionIndex);
if (sectionIndex == 0
&& !showFirstSectionHeading) {
separator.setVisible(false);
} else {
separator.setVisible(true);
separator.setSize(width, separator.getPreferredHeight(width));
separator.setLocation(0, rowY);
rowY += separator.getHeight();
}
for (int fieldIndex = 0, fieldCount = section.getLength();
fieldIndex < fieldCount; fieldIndex++) {
Component field = section.get(fieldIndex);