Skip to content

Commit

Permalink
Updated Kotlin & FlatLaf dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
XyperCode committed Mar 27, 2024
1 parent c70214c commit dec4849
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter

plugins {
kotlin("jvm") version "1.7.10"
kotlin("jvm") version "1.9.22"
id("java")
id("org.panteleyev.jpackageplugin") version "1.5.0"
}
Expand All @@ -30,11 +30,10 @@ configurations {
}

dependencies {
// implementation("com.github.weisj:darklaf-core:3.0.0")
implementation("com.formdev:flatlaf:3.0")
implementation("com.formdev:flatlaf-intellij-themes:3.0")
implementation("com.formdev:flatlaf-extras:3.0")
implementation("com.formdev:flatlaf-swingx:3.0")
implementation("com.formdev:flatlaf:3.4")
implementation("com.formdev:flatlaf-intellij-themes:3.4")
implementation("com.formdev:flatlaf-extras:3.4")
implementation("com.formdev:flatlaf-swingx:3.4")
implementation("commons-lang:commons-lang:2.6")
implementation("org.drjekyll:fontchooser:2.4")
implementation("com.google.code.gson:gson:2.9.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class MainFrame : JFrame(appName), Translatable {
val toolkit = Toolkit.getDefaultToolkit()
val screenSize = toolkit.screenSize

this.iconImage = appIcon
this.iconImages = listOf(appIcon, appIcon16X)

minimumSize = Dimension(800, 450)

Expand Down
2 changes: 2 additions & 0 deletions src/main/kotlin/com/ultreon/notepadimproved/resources.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ val appBannerRef: String = Res.require("/images/banner.png")
val appBanner: Image = Res.loadImage("/images/banner.png")
val appIconRef: String = Res.require("/icons/app.png")
val appIcon: Image = Res.loadImage("/icons/app.png")
val appIcon16XRef: String = Res.require("/icons/app-16x.png")
val appIcon16X: Image = Res.loadImage("/icons/app-16x.png")
Binary file modified src/main/resources/icons/app-16x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/icons/app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/images/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dec4849

Please sign in to comment.