aspose file tools
The moose likes Beginning Java and the fly likes Browser Control 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 "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: 8439

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.


[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Browser Control
 
Similar Threads
How to open popup window for "preview html"
how to open page in new tab
Javascript function to open the url in the tabbed browser
Problem in getting the link to open in Internet explorer
How to control browser launch functionality from java.