This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?
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.