• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

open URL

 
Mg Oo
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mg Oo,

As discussed in this thread: http://www.coderanch.com/t/379668/java/java/Thread-gets-value-Threads Is that your name?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic