aspose file tools*
The moose likes Java in General and the fly likes Calling a pdf file from java swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Calling a pdf file from java swing" Watch "Calling a pdf file from java swing" New topic
Author

Calling a pdf file from java swing

Keshini Weerasuriya
Greenhorn

Joined: Jan 08, 2006
Posts: 24
Hey.. IS there any way to call a pdf file from java swing application. I want to give a user manual for my application in pdf format and wants this document to open when say the user clicks some button in java swing application..

Is this possible? Thanks in advance..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42264
    
  64
You can bundle the PDF file with your Swing app, and open it using Runtime.exec.


Ping & DNS - my free Android networking tools app
Keshini Weerasuriya
Greenhorn

Joined: Jan 08, 2006
Posts: 24
Thanks for the reply..Can u explain a bit further on how to do it??
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42264
    
  64
How to do what? Are you familiar with jar files and Runtime.exec?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling a pdf file from java swing