Quoting Michael Coughlan <[EMAIL PROTECTED]>:
>
> Hello,
> 
> It is possible for a Java Application to spawn a browser window?
> 
> I'm writing specs for a Java application, and I'd like to allow my Menu
> items to bring up URLs on the company Intranet (similar to a help
> window.)
> 
> I sure this is much easier to do in an embedded applet, but I'm trying to
> extend a pre-existing program.

There is no cross-platform mechanism for this, so anything you did would
have to address each platform at your company with its own piece of code. 
The following will work for Windows platforms:

String link = "http://www.theonion.com/";;
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + link);

Greg
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to