Call WindowFactory