Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumslaunching external programs for specific files
https://www.eclipse.org/forums/index.php/mv/msg/302852/812388/#msg_812388
i.e. I have a PDF, and want a PDF Viewer to open, Image file would get an ImageView, etc..
My app often has files that need to be viewed in some other app - and I'd rather not require the user to have to configure each and every possible .ext->app mapping.
]]>Missing name Mising name2012-03-03T18:44:58-00:00Re: launching external programs for specific files
https://www.eclipse.org/forums/index.php/mv/msg/302852/812439/#msg_812439
Desktop.open(new File("your.pdf"))
Checkout javadoc for java.awt.Desktop (JDK 1.6+).]]>Libor Jelinek2012-03-03T20:41:56-00:00Re: launching external programs for specific files
https://www.eclipse.org/forums/index.php/mv/msg/302852/812450/#msg_812450
]]>Missing name Mising name2012-03-03T21:05:17-00:00