Forums Register Login

printing JTables - concatenating? what about the panels?

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
This is too difficult a question for "beginning", so I shall move it.
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Well, I don't know the answer, so it will be beyond a beginner. But then I know nothing much about tables anyway
For my next trick, I'll need the help of a tiny ad ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1312 times.
Similar Threads
change TITLE dimension in Printable?
Blank Frame being displayed
Printing and Preview of Nested JTable not working and performance is slow....
Print Preview in Java swing
Printing Problem to print header
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 21:25:56.