This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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
subject: Can swing use to preview pdf file..?
It's not a secret anymore!