Hi lkryss,
In the sample code that I sent, I used a fixed text height. You may
need to work around this to calculate correct height.
Jennifer
[EMAIL PROTECTED] wrote:
thanks Jennifer Godinez :) it worked !
but i got another problem : it work on my computer, but when i use my
application on
thanks Jennifer Godinez :) it worked !
but i got another problem : it work on my computer, but when i use my
application on another one, the jtable's header disappear and the text i put
before the jtable too, and my jtable go to the top of the sheet.
[Message sent by forum member 'lkryss' (lkrys
Hi lkryss,
You should be able to put a text using drawString and move the JTable
down using translate. Here is an example of a modified print method of
Report.java from
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/advprint.html#pe
to put a text before JTable.
public int pr
hello
i try to print a jtable and some text before and after my jtable. printing the
jtable is ok, and some text after too. but i don't really understand the code
(took from
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/advprint.html
) i'd like to shift the jtable below some