Cara a minha duvida eh exatamente essa , pois gostaria que ficasse assim :
X ----------------Y
X-----------------Y
X-----------------Y
Onde cada X e Y sao um conjunto de informacoes. E cada X e Y sao linhas da minha JTable. Minha JTable ta assim :
1 linha X
2 linha Y
.
.
A minha duvida eh como especificar no xml que o Y deve vir ao lado do X. A minha estrutura do xml esta assim :
<!-- PAGE FOOTER -->
<!-- Displays the page number, centered at the bottom of the page. -->
<pagefooter fontname=“SansSerif” fontsize=“9” fontstyle=“plain” height=“14” onfirstpage=“true” onlastpage=“true”>
<number-field alignment=“center” fieldname=“PageNumber” format=“Page 0” height=“9” nullstring=“hull” width=“100%” x=“0” y=“3”/>
</pagefooter>
<groups>
<group name=“NOMECURTO”>
<groupheader fontname=“SansSerif” fontsize=“12” fontstyle=“bold” height=“25” pagebreak=“false”>
<string-field alignment=“left” fieldname=“NOMECURTO” height=“12” width=“250” x=“0” y=“11”/>
<line weight=“0.5” x1=“0” x2=“0” y1=“23” y2=“23”/>
</groupheader>
<fields>
<field>NOMECURTO</field>
</fields>
</group>
</groups>
<!-- THE ITEM BAND -->
<!-- This band is printed once for each row of data in the TableModel. -->
<string-field alignment=“left” fieldname=“ENDLINHA1” fontsize=“10” fontstyle=“bold” height=“10” width=“100%” x=“0” y=“7”/>
<string-field alignment=“left” fieldname=“NOMEBAIRRO” fontsize=“8” fontstyle=“bold” height=“10” width=“100%” x=“0” y=“24”/>
<!-- <string-field x=“70” y=“24” width=“100%” height=“10” alignment=“left”
fontname=“Serif”
fieldname=“DDD” dynamic=“true”/>
<string-field x="85" y="24" width="100%" height="10" alignment="left"
fontname="Serif"
fieldname="NUMTELEFONE" dynamic="true"/> -->
<string-field alignment="left" dynamic="true" fieldname="CEP" fontname="Serif" height="10" width="100%" x="70" y="24"/>
<string-field alignment="left" dynamic="true" fieldname="NOMECIDADE" fontname="Serif" height="10" width="100%" x="150" y="24"/>
Observacao : O ITEM BAND eh pintado uma vez para cada linha da minha tabela !!