|
Oct
03
|
The Desktop class was added in Java 6 to handle launching associated applications on the native desktop.
Following shows how to launch the associated application to open a file.
File file = new File("/tmp/file.txt");
Desktop desktop = Desktop.getDesktop();
desktop.open(file);



December 21st, 2011 at 6:14 am
Great one Thank You…!!!!!