public native centerIn(container as Container = null) as Void
Centers the window on its screen.
On Windows, the native backend uses the current monitor work area so a multi-monitor setup does not force new windows onto the primary display.
win.size = (900, 600) win.centerIn()