Specified a width and height of the window.