create the window for the client