Create a window.