created new paintWindow