aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes printing JTables - concatenating? what about the panels? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "printing JTables - concatenating? what about the panels?" Watch "printing JTables - concatenating? what about the panels?" New topic
Author

printing JTables - concatenating? what about the panels?

domingos manuel
Greenhorn

Joined: Sep 24, 2009
Posts: 21
Hi, I am printing a JTable in this manner:



and it works perfectly fine.
My problem is: I have two tables. A details table and a totals table.
How do I concatenate both tables into one page (or one document) before sending to the printer?
Now I can either print one table or the other. Or alternatively hit the print button twice.
And what if I have text (strings) sitting in the panel, that I would like to print in between the table header and the tables themselves?Is this achieavable?

Please assist.
Thank you.


Domingos Manuel
South Africa
skype: dm.manuel
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36486
    
  16
This is too difficult a question for "beginning", so I shall move it.
domingos manuel
Greenhorn

Joined: Sep 24, 2009
Posts: 21
Hi Campbell,
Do you reckon its a difficult question for a beginner?!...
Wow, that's so nice. That means I am climbing the ladder then... Feels so good.
Still hoping for an answer though.
Thank you
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36486
    
  16
Well, I don't know the answer, so it will be beyond a beginner. But then I know nothing much about tables anyway
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: printing JTables - concatenating? what about the panels?
 
Similar Threads
change TITLE dimension in Printable?
Blank Frame being displayed
Printing and Preview of Nested JTable not working and performance is slow....
Printing Problem to print header
Print Preview in Java swing