• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generating pdf from jtable

 
Mamatha Rudrappa
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing a tool in java to generate pdf from jtable.
I tried to use itext but I am getting black pdf. Below is the code that I used.




Can anyone help me please..................?

Also to purchase 3rd party api's or libraries, which ones are good?

Thank you..
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like you took the code from http://www.java2s.com/Tutorial/Java/0419__PDF/CreatePdfdocumentfromJTable.htm and modified it. Does the original example on java2s.com work for you?
 
Mamatha Rudrappa
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the reply.
No, example from java2s.com does not work. It generates a blank pdf.
I am not sure what wrong i am doing..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic