Saturday, February 16, 2008

How to open a file with the OS standard application

SWT supplies a very nice class for this: org.eclipse.swt.program.Program
Just supply the absolute path to the file you want to open and the magic is done.



Program.launch(fullPath);

Post a Comment