I have a jTable , for printing it i`m using jTable.print(JTable.PrintMode.FIT_WIDTH).
I have no problem with that.
What i want to do is this (the table extends on 3 pages):
On the first page the title should be "Bla bla bla" , and o the last page under the table it should print "Total : blablabla , blabla ...". I tried to use header and footer but it prints it o every page which is not what i want.
Can anybody help me ?