: hi all
: I want to ask : how to get the current system default browser by
: java code at runtime (IE,firefox,...)? and how to get its specific
: version ? also how to get the supported MIME type of that browser
: also by java code?
: this is intended to be part of a network agent by java.
For windows this can be found in the registry. One possible location is HK_CLASSES\.htm and HK_CLASSES\.html. I don't know if/where other OSes store their default browser.
Note: Applets can only access the registry with special privileges.