How to print contents of JTable with customized header and footer on the page.
I am strugling to print the report usin java swing. I have generated report and kept the results in a JTable, now i want to print the contents with the company information on top of the page and signature at the end of the records. Can anyone help me on this regards...Thanks
Be Confident,be trusty,Count your age by friends not by years
From JDK 5, print method is included which is overloaded also.
you can give message format as the parameter.
go through API and try out. If you are unable to solve than let me know, i will send you a demo program for that.
Best Of Luck
Joined: Jun 09, 2003
I'm actually using an older version of StandardPrint, the link is supposed to be the latest improved version.
to get the version in the link to compile: comment out the package comment out the 3 x import tjacobs.ui..... add this at the bottom of the code
it should compile OK now, and if its use is the same as the version I'm using, you call it like this
Joined: Oct 29, 2002
Thanks Tapan Maru Please send me the demo....
Joined: May 08, 2006
Please click the link follow: you will get a demo code for printing JTable. but for that you have to install JDK1.5.0 or higher on your system Sorry I am sending the link but i think i lost the demo code.. Best Of Luck