}
private void configurePageHeader()
{
final PageHeader pageHeader = report.getPageHeader();
final ElementStyleSheet style = pageHeader.getStyle();
style.setStyleProperty(BandStyleKeys.DISPLAY_ON_FIRSTPAGE, Boolean.TRUE);
style.setStyleProperty(ElementStyleKeys.MIN_HEIGHT, new Float(24));
style.setStyleProperty(TextStyleKeys.FONT, "Serif");
style.setStyleProperty(TextStyleKeys.FONTSIZE, new Integer(10));
style.setStyleProperty(ElementStyleKeys.BACKGROUND_COLOR, new Color(0xAFAFAF));
pageHeader.addElement
(HorizontalLineElementFactory.createHorizontalLine
(18, null, new BasicStroke(1)));