This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes How to print contents of JTable !!!Please Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to print contents of JTable !!!Please Help" Watch "How to print contents of JTable !!!Please Help" New topic
Author

How to print contents of JTable !!!Please Help

Andy Huu
Greenhorn

Joined: Dec 07, 2010
Posts: 2
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
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2154
    
    7
Read the JTable API and follow the link to the Swing tutorial on "How to Use Tables" where you will find a section on printing.
Andy Huu
Greenhorn

Joined: Dec 07, 2010
Posts: 2
Thanks for reply. I have tried a lots of material in the internet. i couldn't find something useful to me. Please Help
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2154
    
    7
If the working example from the tutorial doesn't help you then I'm not sure how you expect me to help you.
Bobby Smallman
Ranch Hand

Joined: Sep 09, 2010
Posts: 107
http://download.oracle.com/javase/tutorial/uiswing/components/table.html


Everyday in every way, we get a little better.
 
Don't get me started about those stupid light bulbs.
 
subject: How to print contents of JTable !!!Please Help
 
Similar Threads
How to print contents of JTable !!!Very urgent
JTable "..."
JTable
JTable Printout
JTable