diff options
author | Bryson Steck <brysonsteck@protonmail.com> | 2023-05-13 13:14:00 -0600 |
---|---|---|
committer | Bryson Steck <brysonsteck@protonmail.com> | 2023-05-13 13:14:00 -0600 |
commit | c3d1c4899b3be5929cac9e99d54104fc57723c8b (patch) | |
tree | 84bcdc041fa1bb0ab05f9e00bc1c473c7ba44292 /app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt | |
parent | 778e91a2a84b8f011523dfa76cf9545304823c5c (diff) | |
download | ServerCraft-c3d1c4899b3be5929cac9e99d54104fc57723c8b.tar ServerCraft-c3d1c4899b3be5929cac9e99d54104fc57723c8b.tar.gz ServerCraft-c3d1c4899b3be5929cac9e99d54104fc57723c8b.tar.bz2 |
add icons, server class, isolate finding server
Diffstat (limited to 'app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt')
-rw-r--r-- | app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt | 2 |
1 files changed, 2 insertions, 0 deletions
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() |