configureFunctions();
}
private void configureRecordGroup()
{
final Band b = new Band();
b.setName("activitylog");
b.getStyle().setStyleProperty(TextStyleKeys.BOLD, Boolean.TRUE);
b.getStyle().setStyleProperty(TextStyleKeys.FONT, "SansSerif");
b.getStyle().setStyleProperty(TextStyleKeys.FONTSIZE, new Integer(12));
LabelElementFactory labelFactory = new LabelElementFactory();
labelFactory.setAbsolutePosition(new Point2D.Float(0, 0));
labelFactory.setMinimumSize(new FloatDimension(200, 15));
labelFactory.setText("Time");
b.addElement(labelFactory.createElement());
labelFactory = new LabelElementFactory();
labelFactory.setAbsolutePosition(new Point2D.Float(200, 0));
labelFactory.setMinimumSize(new FloatDimension(-100, 15));
labelFactory.setText("Task");
b.addElement(labelFactory.createElement());
b.addElement(HorizontalLineElementFactory.createHorizontalLine
(15, null, new BasicStroke(1)));
final Group group = report.getGroupByName("record-group");
group.getHeader().addElement(b);
}