Using the java.awt.Desktop class in an application, I noticed that you can call various actions on files. It's possible to both call an edit
- and open
action on, say html files, which in theory then would get the default application for this file and action.
This is a nice feature, as I want a browser to open my html files, but a text editor to edit html files. But this does not seem to be implemented in any OS I've come across.
In which operational system is it actually possible to select different programs for open and edit actions?