getting variable of used favorite inet-browser ?

hi,

i link from a program to a internet site and i use

Runtime.getRuntime().exec() to do this. But i like

to check the system variable for the favorite browser.

How can i do this ?

marco

item6.addActionListener(new ActionListener(){

publicvoid actionPerformed(ActionEvent e)

{

try

{

String url ="www.something..";

Process process = Runtime.getRuntime().exec("c:\Program Files\Internet Explorer\ IEXPLORE.EXE " + url);

}

catch(MalformedURLException malformedurlexception){}

catch(IOException x){}

}

}

[1123 byte] By [marcOntia] at [2007-10-2 22:22:12]
# 1
Yes, this information is available in Windows registry.Use JNDI to explore the Registry. You'll need et specific JNDI provider, that may be not free.It is always baaaaaad to do System specific things in Java !
Kilwcha at 2007-7-14 1:39:29 > top of Java-index,Desktop,Developing for the Desktop...