}
private void configurePeopleGroup()
{
final RelationalGroup group = new RelationalGroup();
group.setName("person-group");
group.addField("person.name");
LabelElementFactory labelFactory = new LabelElementFactory();
labelFactory.setAbsolutePosition(new Point2D.Float(0, 0));
labelFactory.setMinimumSize(new FloatDimension(160, 12));
labelFactory.setText("Name:");
group.getHeader().addElement(labelFactory.createElement());
TextFieldElementFactory textFieldFactory = new TextFieldElementFactory();
textFieldFactory.setFieldname("person.name");
textFieldFactory.setAbsolutePosition(new Point2D.Float(170, 0));
textFieldFactory.setMinimumSize(new FloatDimension(-100, 12));
group.getHeader().addElement(textFieldFactory.createElement());
labelFactory = new LabelElementFactory();
labelFactory.setAbsolutePosition(new Point2D.Float(0, 15));
labelFactory.setMinimumSize(new FloatDimension(160, 12));
labelFactory.setText("Address:");
group.getHeader().addElement(labelFactory.createElement());
textFieldFactory = new TextFieldElementFactory();
textFieldFactory.setFieldname("person.address");
textFieldFactory.setAbsolutePosition(new Point2D.Float(170, 15));
textFieldFactory.setMinimumSize(new FloatDimension(-100, 12));
group.getHeader().addElement(textFieldFactory.createElement());
group.getFooter().getStyle().setStyleProperty(ElementStyleKeys.MIN_HEIGHT, new Float(15));
report.addGroup(group);
}