The
thread below has the code to select the directory using JFileChooser:
http://www.javaranch.com/ubb/Forum33/HTML/001305.html Once you have the file you can either "execute" the file and let the MIME type direct what browser gets opened:
Process p = Runtime.getRuntime().exec(f); //opens with whatever application the user has specified for that extension type
or you can NAME the browser and hope that the user has the application and that it is in the path:
String runThis = "\"" + "ie.exe " + f + "\""; //create the command in quotes
Runtime.getRuntime().exec(runThis);
[This message has been edited by Cindy Glass (edited April 23, 2001).]