Hi,
Did anyone see the new bug report logged on SourceForge? I just noticed
it this morning.
[ 1160468 ] Using RC1, get a command window with URL as title
Using RC1, get a command window with URL as title
When I attempt to open a URL using the RC1 release on
Windows XP 2002, SP2 with IE as default browser or with
FireFox as default browser I get a command window
(prompt) with a title of the url e.g., "sf.net" instead
of a browser window.
Code is as follows:
String urlString = "www.sf.net";
BrowserLauncherErrorHandler errorHandler = new
BrowserLauncherDefaultErrorHandler();
BrowserLauncherRunner runner = new
BrowserLauncherRunner(Util.getBrowserLauncher(),
urlString, errorHandler);
Thread launcherThread = new Thread(runner);
launcherThread.start();
I confirmed that this behavior is not consistent with
BrowserLauncher1.4b1:
try {
BrowserLauncher.openURL("http://www.redfin.com");
} catch (Exception e) {
throw new RuntimeException(e);
}
Opens the browser just fine (both FireFox and Explorer).
=================================================
Would the lack of a protocal make a difference?
I wish he would try this in the test application.
Later.
Jeff
|