Blame view
src/main/kotlin/application/App.kt
679 Bytes
2f45c53df skeleton for user... |
1 2 3 4 5 6 7 8 9 10 11 12 |
package application import javafx.application.Application import javafx.fxml.FXMLLoader import javafx.scene.Parent import javafx.scene.Scene import javafx.stage.Stage class App : Application() { override fun start(primaryStage: Stage?) { |
2f45c53df skeleton for user... |
13 |
|
2f45c53df skeleton for user... |
14 |
|
b350f9dfe import vessels an... |
15 16 |
val fxmlLoader = FXMLLoader(App::class.java.getResource("/gui/windows.fxml")) val parent: Parent = fxmlLoader.load() |
2f45c53df skeleton for user... |
17 18 19 20 |
val scene = Scene(parent) primaryStage!!.scene = scene primaryStage.title = "Maritime Visualisation" |
2f45c53df skeleton for user... |
21 22 23 24 25 26 27 28 29 30 31 |
primaryStage.show() } companion object { @JvmStatic fun main(args: Array<String>) { launch(App::class.java) } } } |