Open Browser with No Address Bar from Java
807569Jun 6 2006 — edited Jun 6 2006How to open a IE Browser from Java with no address bar, tool bar etc ?
I am able to open browser like the listed code, but the requirement for me is it has to open with no "Address Bar", buttons.
I know we can do that in "Javascript" but how to or is there a way to do that in java/swing.
Any help is greatly appreciated.
String WIN_FLAG = "url.dll,FileProtocolHandler";
String WIN_PATH = "rundll32";
String url = "www.google.com"
String cmd = WIN_PATH + " " + WIN_FLAG + " " + url;
Runtime.getRuntime().exec( cmd );