From c3d1c4899b3be5929cac9e99d54104fc57723c8b Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sat, 13 May 2023 13:14:00 -0600 Subject: add icons, server class, isolate finding server --- app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt') diff --git a/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt b/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt index f4f49ae..a2c4bbd 100644 --- a/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt +++ b/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt @@ -7,12 +7,14 @@ import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; +import javafx.scene.image.Image import javafx.stage.Stage; class App : Application() { override fun start(stage: Stage) { var scene = Scene(loadFXML("primary"), 963.0, 713.0) + stage.icons.add(Image(this.javaClass.getResourceAsStream("app-256x256.png"))) stage.title = "Server For Dummies" stage.scene = scene stage.show() -- cgit v1.2.3