how to draw text with frame box

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>

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *

What is 14 + 3 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)