Streaming a JTable into a PDF file
Hi
I'm trying to generate a report from a JTable and I would like to do it in a PDF file. I've tried to use the JTable print facility to build a BufferedImage. Then, I've tried to add the image to a PDF through iTEXT API, but the image generated doesn't have the same resolution than printing the JTable in a default printer and the resulting PDF isn't suitable for my purposes.
I've tried to print the JTable content ina postscript file, but I cannot view the PS file into my application (in order to avoid PDF conversion). I've tried some expamples of Java Postscript viewers (Toastscript, etc.) but none of them can read the PS files generated.
Any tip? Can anybody help me?
Thanks in advance!
Regards!