Programmer's Guide > Interfaces > Window interface > setSize method
  
setSize method
Changes the size of the window so it has width width and height height.
setSize(width, height)
Parameters
intwidth
The new width of the window.
intheight
The new height of the window.
Returns
void