Load resources

This commit is contained in:
Him188
2020-02-18 11:46:10 +08:00
parent 2e70218c1a
commit cb50a337e0
2 changed files with 1 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ class PrimaryView : View() {
left = vbox {
imageview(Image(FileInputStream("logo.png")))
imageview(Image(PrimaryView::class.java.classLoader.getResourceAsStream("logo.png")))
// bot list
jfxListView(controller.botList) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB