wood burning stoves
The moose likes Beginning Java and the fly likes open URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "open URL " Watch "open URL " New topic

open URL

Mg Oo

Joined: Nov 28, 2004
Posts: 22
Hi java masters,

May I know the java code to open browser and go URL ?

For example, we can do it in VB like

Shell("iexplore [url=http://www.javaranch.com")]www.javaranch.com")[/url]
Shell("firefox [url=http://www.javaranch.com")]www.javaranch.com")[/url]

Again, how can I set target for the opened window like _blank ?

I would like to create a applet that opens windows in specific target.
I would like to open window in Iframe name "main".

Thanks so.
[ April 20, 2006: Message edited by: Mg Oo ]
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
Hi Mg Oo,

As discussed in this thread: http://www.coderanch.com/t/379668/java/java/Thread-gets-value-Threads Is that your name?
Have you checked out Aspose?
subject: open URL
It's not a secret anymore!