I\'m trying to figure out how to open the system preferred editor for a given file.
Say, we have a file manager, written in Java. User goes to folder and sees the li
Seems that if you can't use java.awt.Desktop you have to distinguish between the OSes: Windows:
java.awt.Desktop
RUNDLL32.EXE SHELL32.DLL,OpenAs_RunDLL
Linux:
edit
Mac:
open
HTH. Obviously, that is not very portable...