This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

printing JTables - concatenating? what about the panels?

 
domingos manuel
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is too difficult a question for "beginning", so I shall move it.
 
domingos manuel
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I don't know the answer, so it will be beyond a beginner. But then I know nothing much about tables anyway
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic