aspose file tools*
The moose likes Beginning Java and the fly likes Browser Control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Browser Control" Watch "Browser Control" New topic
Author

Browser Control

Eoin Mac Aoidh
Ranch Hand

Joined: May 19, 2005
Posts: 48
Hi, I am wondering if it is possible to open a url from a java application in the most recent browser tab, i.e without spawning a new tab to show the specified page.
I have done a bit of searching on this topic, and the command

is the usual suggestion. This opens a particular URL, but it opens it in a new tab. Is it possible to override the new tab command?
Thanks,

Eoin.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10266
    
    8

Tab/Window are your browser specific settings. I do not think it would be possible using the generic command (windows) you have rightly quoted.

There might be something like flags or arguments e.g. firefox.exe -tab but that would be tie it down to a specific browser/version.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Browser Control