This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Can swing use to preview pdf file..? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Can swing use to preview pdf file..?" Watch "Can swing use to preview pdf file..?" New topic
Author

Can swing use to preview pdf file..?

Shuang mu
Greenhorn

Joined: Mar 28, 2002
Posts: 7
Here let say inside PC there is dont have Acrobat Reader, Can we use swing to open the pdf file and preview it...?
Thomas Smets
Ranch Hand

Joined: Dec 11, 2001
Posts: 111
Look on the sourceForge there is a set of API's to generate PDF's... I am sure they can provide a least basic PDF viewing.
There was also a post on a javaranch forum about the different PDF viewer. The post was made by Benjamin LEONARD (an dammed good java developper & more over a frien of mine). I remember he gave 2 package to do so !

Give also a look at the following :
www.pdfmachine.net
InetSoft
http://www.lowagie.com/iText/


Thomas Smets
Just another developper
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can swing use to preview pdf file..?
 
Similar Threads
How to open a pdf file from Swing Panel?
Is there a Java API/tool for this problem?
FO:creating editable PDF?
Printing a JTextPane
preview of pdf files in browsers.