The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Showing PDF in Java

Posted by Aulo on July 05, 2001 at 10:20 AM

Searching for help in displaying PDF files in Java applications.

I have an application made in Swing, and I want to display PDF files in it.

It is actually more complicated than that, but the most difficult part seems to be displaying the PDF files I create by translating from XSL-FO format (I have this part ready already).

I have imported the apache.fop classes and I have a driver for making the XSL-FO to PDF translation and I get the PDF file as a byte stream that I would like to direct in a way that would make it possible to show it out in my application.

Any help appreciated! From my own side I can reveal the XSL-FO -> PDF conversion logic.



Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us