aspose file tools
The moose likes Beginning Java and the fly likes open URL Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "open URL " Watch "open URL " New topic
Author

open URL

Mg Oo
Greenhorn

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?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: open URL
 
Similar Threads
code snippets
Where is Java Set up?
Opening HTTPS link in same popup
Simple program that executes from console and opens another console
rundll problem