Coding window creation, created window but not showed yet