TextureSync/client/src/main/kotlin/org/hso/texturesyncclient/app/Main.kt

18 lines
460 B
Kotlin
Raw Normal View History

package org.hso.texturesyncclient.app
import javafx.stage.Stage
import org.hso.texturesyncclient.view.startupView.StartupView
2019-06-05 16:05:10 +02:00
import org.hso.texturesyncclient.view.startupView.StartupViewController
import tornadofx.App
2019-06-05 16:05:10 +02:00
class Main: App(StartupView::class){
2019-06-04 16:05:47 +02:00
2019-06-07 09:52:09 +02:00
//start first controller
private val svc = StartupViewController()
override fun start(stage: Stage) {
super.start(stage)
stage.setOnCloseRequest { System.exit(0) }
}
}