Results 1 to 1 of 1
- 12-14-2009, 09:44 AM #1
Member
- Join Date
- Dec 2009
- Posts
- 1
- Rep Power
- 0
Open and closing tabbed web browser using java
In our project we have a requirement to open the default web browser(windows and linux) from the java application.Also when the java application is closed the browser window also need to be closed automatically.
To open the browser we use:
p = Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler someurl;
but to close the browser window p.destroy() fails for tabbed browsers like firefox but succeds for IE 6 which opens different windows for different pages.
Is there any option to close only the tab we opened or any other alternative way to achieve this(cant use JDIC or Desktop API).
Similar Threads
-
Is This Possible?? Onload, Open Page in New Browser and Size?
By MusicGuy in forum New To JavaReplies: 3Last Post: 11-09-2009, 12:12 AM -
Open and close web browser
By ali_sakar in forum New To JavaReplies: 2Last Post: 11-03-2009, 12:28 PM -
tabbed Pane .
By programmer_007 in forum AWT / SwingReplies: 2Last Post: 09-03-2009, 08:52 PM -
How to detect browser closing to invalidate a jsp session
By kumar_ps78 in forum JavaServer Pages (JSP) and JSTLReplies: 13Last Post: 08-13-2009, 03:56 PM -
Re-open browser
By Tokajac in forum Java ServletReplies: 2Last Post: 10-13-2008, 01:31 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks