Oh ok.

I have done what you said, but that results in my window not showing when i run the application. It doesnt show any errors either.