class MyApp: App(MainView::class) { override fun start(stage: Stage) { super.start(stage) stage.hide() } }