Re:Clojure Desktop UI Framework
by swarthy_avenger on Tuesday August 27, 2024 @12:27PM
(#41369366)
FlatLaf is incredible and breathes new life into the Swing UI framework.
Re:Clojure Desktop UI Framework
by iamcalledrob on Tuesday August 27, 2024 @02:15PM
(#41370868)
Having worked with Swing recently, I worry that it will not work well on the near-distant future, because it feels frozen in time at about 2005.
There are a lot of assumptions baked in that aren't holding up today.
For example, high density and multi monitor aren't well supported. There's a bunch of stuff hard-coded in the JDK that no longer makes sense and you have to hack around.
I haven't worked with FX or Swing lately but I could have sworn they delivered hidpi support. Maybe in this JEP? https://openjdk.org/jeps/263
[1] https://www.formdev.com/flatlaf/
[2] https://github.com/clj-commons/seesaw