I’m trying to create a window in lime using: Application.current.createWindow(new Window());
but the new window immediately closes
I’ve created an OpenFL project and tried to use the same code and the window somehow stays open, I’m confused as to why it works in OpenFL but not Lime alone
No error messages or anything, the window would simply open, then immediately closes
The XML tag solution works, but I was wondering if it was possible to be able to create windows on runtime