This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Generating pdf from jtable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Generating pdf from jtable" Watch "Generating pdf from jtable" New topic

Generating pdf from jtable

Mamatha Rudrappa

Joined: May 29, 2012
Posts: 2
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

Joined: May 03, 2008
Posts: 4947

It looks like you took the code from and modified it. Does the original example on work for you?

luck, db
There are no new questions, but there may be new answers.
Mamatha Rudrappa

Joined: May 29, 2012
Posts: 2
Thank you for the reply.
No, example from does not work. It generates a blank pdf.
I am not sure what wrong i am doing..
I agree. Here's the link:
subject: Generating pdf from jtable
It's not a secret anymore!