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){}
}
}

