|
- import javafx.application.Application
- import javafx.fxml.FXMLLoader
- import javafx.scene.Parent
- import javafx.scene.Scene
- import javafx.stage.Stage
-
- class Main : Application() {
- override fun start(primaryStage: Stage) {
- val root: Parent = FXMLLoader.load(javaClass.getResource("ui.fxml"))
- val scene = Scene(root, 640.0, 480.0)
- primaryStage.title = "Robocraft 2 ExMods Launcher"
- primaryStage.scene = scene
- primaryStage.show()
- }
- }
-
-
- fun main(args: Array<String>) {
- Application.launch(Main::class.java, *args)
- }
|