eclipse rcp - How to launch the default (native) application for a given file from Java? -


i displaying list of files; i.e. xls, doc, pdf, odt etc., in java application (eclipse rcp). when user clicks on file, want launch appropriate (according os thinks) native application, happens in windows explorer or finder.

and while here: nice display same icons finder or explorer use different file types.

is there library or eclipse plugin this?

what want java.awt.desktop:

desktop.getdesktop().open( file ); 

Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -