aspose file tools*
The moose likes Java in General and the fly likes How to control size of launced browser from java(i.e. launch as popup). Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to control size of launced browser from java(i.e. launch as popup)." Watch "How to control size of launced browser from java(i.e. launch as popup)." New topic
Author

How to control size of launced browser from java(i.e. launch as popup).

Sharad Kharya
Ranch Hand

Joined: Oct 15, 2008
Posts: 68
Hi,
I am trying to launch the IE or Firefox browser from my Java Application. To launch the browser I am using the following code.
My requirement is to control the browser size while launching the browser.

Please let me know how can I control the browser size?

Code snippet
Thanks
Sharad
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
Don't know, but if you don't "empty" the two streams from that Process you might get deadlocks. Google for "when Runtime.exec() won't" and read Daconta's article before proceeding. Also look for the ProcessBuilder class, which makes this procedure slightly easier.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to control size of launced browser from java(i.e. launch as popup).