But it looks a technique fraught with possible errors, so you should not try Runtime.exec() unless you have read Michael Daconta's classic article which this search should find: when Runtime.exec() won't.
Desktop.open will also not open the PDF document in Swing but will also just call the system default application (Acrobat Reader) as a separate process.
Post by:autobot
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
a bit of art, as a gift, that will fit in a stocking