// x=5%, y=55%, width=40%, height=40%
levelA2.addElement(createBand("A2-B1", Color.red, 0, -50, -50, -50));
// x=55%, y=5%, width=40%, height=40%
levelA2.addElement(createBand("A2-B2", Color.darkGray, -55, -5, -40, -40));
final ReportHeader header = new ReportHeader();
header.setName("Report-Header");
header.getStyle().setStyleProperty(ElementStyleKeys.MIN_WIDTH, new Float(-100));
header.getStyle().setStyleProperty(ElementStyleKeys.MIN_HEIGHT, new Float(100));
header.getStyle().setStyleProperty(ElementStyleKeys.MAX_WIDTH, new Float(Short.MAX_VALUE));
header.getStyle().setStyleProperty(ElementStyleKeys.MAX_HEIGHT, new Float(100));
header.getStyle().setStyleProperty(ElementStyleKeys.BACKGROUND_COLOR, Color.ORANGE);
header.addElement(levelA1);
header.addElement(levelA2);
final ContentFieldElementFactory cfef = new ContentFieldElementFactory();
cfef.setFieldname("CreateComponent");
cfef.setMinimumSize(new FloatDimension(400, 400));
cfef.setAbsolutePosition(new Point2D.Float(0, 0));