Un ejemplo, aquí quiero formatear un campo de tipo fecha y otro de tipo numérico, he modificado lo que está en negrita, dos veces una en la definición de los campos y otra en la expresión a representar. Copio el xml que he subido al servidor ....
He observado que siempre que haga algún cambio en el informe, tengo que ir al xml y modificarlo.
Espero que esto sirva de ayuda, parece que es un problema bastangte generalizado.
<?xml version="1.0" encoding="UTF-8"?>
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<queryString language="xPath">
<![CDATA[]]>
</queryString>
<field name="Referencia-name" class="java.lang.String">
<fieldDescription><![CDATA[/data/record/Referencia-name]]></fieldDescription>
</field>
<field name="Name-name_template" class="java.lang.String">
<fieldDescription><![CDATA[/data/record/Producto-product_id/Name-name_template]]></fieldDescription>
</field>
<field name="Scheduled_Date-date_planned_date" class="java.util.Date">
<fieldDescription><![CDATA[/data/record/Scheduled_Date-date_planned_date]]></fieldDescription>
</field>
<field name="Product_Qty-product_qty" class="java.lang.Float">
<fieldDescription><![CDATA[/data/record/Product_Qty-product_qty]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="78" splitType="Stretch">
<staticText>
<reportElement x="24" y="14" width="278" height="20"/>
<textElement>
<font size="16" isBold="true"/>
</textElement>
<text><![CDATA[Órden de producción número:]]></text>
</staticText>
<textField>
<reportElement x="288" y="14" width="100" height="20"/>
<textElement>
<font size="16" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{Referencia-name}]]></textFieldExpression>
</textField>
<textField pattern="dd MMMMM yyyy">
<reportElement x="148" y="58" width="100" height="20"/>
<textElement/>
<textFieldExpression class="java.util.Date"><![CDATA[$F{Scheduled_Date-date_planned_date}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="24" y="58" width="111" height="20"/>
<textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[Fecha programada:]]></text>
</staticText>
<textField pattern="dd MMMMM yyyy">
<reportElement x="426" y="16" width="100" height="18"/>
<textElement/>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band height="35" splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="61" splitType="Stretch"/>
</columnHeader>
<detail>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="0" y="0" width="79" height="20"/>
<textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[Producto]]></text>
</staticText>
<textField pattern="EEEEE dd MMMMM yyyy">
<reportElement x="92" y="0" width="196" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[$F{Name-name_template}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="355" y="0" width="100" height="20"/>
<textElement>
<font isBold="true"/>
</textElement>
<text ><![CDATA[Cantidaz]]></text>
</staticText>
<textField pattern="#,##0.00">
<reportElement x="442" y="0" width="100" height="20"/>
<textElement/>
<textFieldExpression class="java.lang.Float"><![CDATA[$F{Product_Qty-product_qty}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="45" splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="54" splitType="Stretch"/>
</pageFooter>
<summary>
<band height="42" splitType="Stretch"/>
</summary>
</jasperReport>