I use the below code to launch a web page in default system browser:
String url = "http://www.google.com";
java.awt.Desktop.getDesktop().browse(java.net.URI.create(url));
however i want my web page to be displayed in a popup browser window with a given size (with,height) like we can do in javascript with Window Object.
is there a way i can control from java the default browser and ask it to open a popup window with a given size?
there is this good project http://browserlaunch2.sourceforge.net/
you invoke a new browser window like below. however it probably doesn’t offer option for setting window height and width.