File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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

Can swing use to preview pdf file..?

Shuang mu

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 :

Thomas Smets
Just another developper
Don't get me started about those stupid light bulbs.
subject: Can swing use to preview pdf file..?