I making an app in Java. I want an Open With Dialog to appear when a JButton
is clicked.
I know that in Windows, the contents of the Recommended Programs list are determined from the registry entry
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\filetype\OpenWithList
..where 'filetype' is the required file type.
Is there any way that this can be done with complete independence of the OS in which this app runs? Or do I have to get the OS name and program accordingly?