I am using ireport-4.5.0,jasper-reports-4.5.0.I am trying to add the border to the column header.While i am googling i found that we can get the border using rectangle.I have used the rectangle but i didn't get the border.Below is the code i am using.
<columnHeader>
<band height="39" splitType="Stretch">
<rectangle>
<reportElement x="131" y="0" width="424" height="39"/>
</rectangle>
<rectangle>
<reportElement x="0" y="1" width="131" height="38"/>
</rectangle>
<staticText>
<reportElement x="11" y="16" width="108" height="14"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Business Name]]></text>
</staticText>
<staticText>
<reportElement x="154" y="10" width="361" height="20"/>
<textElement textAlignment="Center">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Sales Report]]></text>
</staticText>
</band>
</columnHeader>
Can any one point me in the correct direction where i am doing the mistake.
Thanks In Advance.