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