This method of the WebBrowser class sets the height of the Microsoft® Internet Explorer main window.
public synchronized void setHeight(int Pixels);