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 Java 8 in Action this week in the Java 8 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: 9995
    
    7

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
 
Similar Threads
Javascript function to open the url in the tabbed browser
How to open popup window for "preview html"
Problem in getting the link to open in Internet explorer
how to open page in new tab
How to control browser launch functionality from java.