generate a frame window.