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

19 lines
515 B
Kotlin

package org.hso.texturesyncclient.app
import javafx.stage.Stage
import org.hso.texturesyncclient.view.startupView.StartupView
import org.hso.texturesyncclient.view.startupView.StartupViewController
import tornadofx.App
class Main: App(StartupView::class){
//start first controller
private val svc = StartupViewController()
override fun start(stage: Stage) {
super.start(stage)
stage.setOnCloseRequest { System.exit(0) }
stage.scene.stylesheets.add("/css/Styles.css")
}
}