how to draw text with frame box in JasperReport
<textField pattern="">
<reportElement mode="Transparent" x="3″ y="3″ width="124″ height="16″ forecolor="#000000″ backcolor="#FFFFFF"/>
<box>
<pen lineWidth="0.5″/>
<topPen lineWidth="0.5″/>
<leftPen lineWidth="0.5″/>
<bottomPen lineWidth="0.5″/>
<rightPen lineWidth="0.5″/>
</box>
<textElement markup="none">
<font fontName="Times New Roman" size="9″ isBold="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{field1}]]></textFieldExpression>
</textField>