Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling a pdf file from java swing

 
Keshini Weerasuriya
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can bundle the PDF file with your Swing app, and open it using Runtime.exec.
 
Keshini Weerasuriya
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply..Can u explain a bit further on how to do it??
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to do what? Are you familiar with jar files and Runtime.exec?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic