From f19c3d882ee0772bc35684b1f926ada9a4d8d97f Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 26 Oct 2020 14:36:21 +0100 Subject: [PATCH] Set app icon --- .../ui/javafx/dialogs/mainwindow/MainWindow.kt | 3 +++ .../src/main/resources/icons/AppIconRound.png | Bin 0 -> 3380 bytes 2 files changed, 3 insertions(+) create mode 100644 ui/BankingJavaFxApp/src/main/resources/icons/AppIconRound.png diff --git a/ui/BankingJavaFxApp/src/main/kotlin/net/dankito/banking/ui/javafx/dialogs/mainwindow/MainWindow.kt b/ui/BankingJavaFxApp/src/main/kotlin/net/dankito/banking/ui/javafx/dialogs/mainwindow/MainWindow.kt index 86a08753..2c115f54 100755 --- a/ui/BankingJavaFxApp/src/main/kotlin/net/dankito/banking/ui/javafx/dialogs/mainwindow/MainWindow.kt +++ b/ui/BankingJavaFxApp/src/main/kotlin/net/dankito/banking/ui/javafx/dialogs/mainwindow/MainWindow.kt @@ -1,6 +1,7 @@ package net.dankito.banking.ui.javafx.dialogs.mainwindow import javafx.scene.control.SplitPane +import javafx.scene.image.Image import net.dankito.utils.multiplatform.File import net.dankito.banking.fints4kBankingClientCreator import net.dankito.banking.ui.javafx.RouterJavaFx @@ -55,6 +56,8 @@ class MainWindow : View(messages["application.title"]) { override val root = borderpane { + setStageIcon(Image(MainWindow::class.java.classLoader.getResourceAsStream("icons/AppIconRound.png"))) + prefHeight = 620.0 prefWidth = 1150.0 diff --git a/ui/BankingJavaFxApp/src/main/resources/icons/AppIconRound.png b/ui/BankingJavaFxApp/src/main/resources/icons/AppIconRound.png new file mode 100644 index 0000000000000000000000000000000000000000..6dae829e73dfe3e9fb28ffa850c89fe14429954d GIT binary patch literal 3380 zcmV-44a@S0P)U35M(n$h09=Xbul=ezfD?m53BTzLq!wHpY=x1jX~Q0o!aq4m{3 z1wsXy5}+7Zda=xTU;<$bO+U~NoCSFooRc`}ZM1rwX!Hc2&3r6x5Yqy3reWI}bf6J* zBU)+^wgROd)iw$oL5PC1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