From 7db4d246d920586edcc485d514d9651dcc370d67 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Tue, 9 May 2023 16:31:47 -0600 Subject: logic seems fine? --- .../main/xyz/brysonsteck/serverfordummies/App.kt | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 app/bin/main/xyz/brysonsteck/serverfordummies/App.kt (limited to 'app/bin/main/xyz/brysonsteck/serverfordummies/App.kt') diff --git a/app/bin/main/xyz/brysonsteck/serverfordummies/App.kt b/app/bin/main/xyz/brysonsteck/serverfordummies/App.kt deleted file mode 100644 index 0547a8f..0000000 --- a/app/bin/main/xyz/brysonsteck/serverfordummies/App.kt +++ /dev/null @@ -1,30 +0,0 @@ -/* - * This Kotlin source file was generated by the Gradle 'init' task. - */ -package xyz.brysonsteck.serverfordummies - -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(stage: Stage) { - var scene = Scene(loadFXML("primary"), 1500.0, 900.0) - stage.title = "Server For Dummies" - stage.scene = scene - stage.show() - } - - private fun loadFXML(fxml: String) : Parent { - val fxmlLoader = FXMLLoader(this.javaClass.getResource(fxml + ".fxml")) - return fxmlLoader.load() - } - - public fun run() { - launch() - } - -} -- cgit v1.2.3