File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes saving JTable in PDF format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "saving JTable in PDF format" Watch "saving JTable in PDF format" New topic

saving JTable in PDF format

satya sahu
Ranch Hand

Joined: Mar 26, 2003
Posts: 97
Hi All,
I have a GUI screen where i have to save the JTable contents in PDF format. Can anybody help me in this. Sample codes will be the best for me.
Thanks in Advance.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
iText is a library to generate PDF files. It has extensive support for generating tables, and lots of examples online at its documentation page.
I agree. Here's the link:
subject: saving JTable in PDF format
It's not a secret anymore!