Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

saving JTable in PDF format

 
satya sahu
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iText is a library to generate PDF files. It has extensive support for generating tables, and lots of examples online at its documentation page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic