Refer a Document from a desktop application in java -


i have application consist of menu's.in menu have tutorial menuitem.what want when click menuitem "tutorial" document in application directory need opened.can acheive this?

you can use java.awt.desktop.getdesktop().open(file) method.

see desktop api , using desktop api in java se 6.


Comments