Forums Register Login

Printing Help

+Pie Number of slices to send: Send
Can anybody tell me how can i print the contents which are present inside a JTable.
+Pie Number of slices to send: Send
Since this about a JTable rather than a JDBC table, I'm moving the post to our Swing forum.
+Pie Number of slices to send: Send
I don't know a lot about printing, so I had a look in Horstmann's book, where I expected to find something useful.

And, lo and behold, on p375 of vol 2, there it is . . .
And that's it. It says there is a JTable.print() method but it is only available in J5.0. There are other versions of print(); look in the API.

I think I have tried it in the past and it worked. Try it and see.

CR
He got surgery to replace his foot with a pig. He said it was because of this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 701 times.
Similar Threads
Printing Help
JTable(!!!)
JTable
Printing JTable
JTable
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 02:05:02.