zlacker

[parent] [thread] 4 comments
1. dig1+(OP)[view] [source] 2024-08-27 14:59:40
Clojure and Flatlaf [1] tick all the boxes for me. If I want declarative-ish UI, I can always throw in Seesaw [2]. Everything else I find cumbersome, pulls tons of unnecessary dependencies and (usually) ends up abandoned in a year or two. With Swing, I know it is well-documented and will work for the next 30 years. But YMMV and I'm hoping that HumbleUI could be an exception.

[1] https://www.formdev.com/flatlaf/

[2] https://github.com/clj-commons/seesaw

replies(2): >>swarth+hh >>iamcal+vF
2. swarth+hh[view] [source] 2024-08-27 16:27:58
>>dig1+(OP)
FlatLaf is incredible and breathes new life into the Swing UI framework.
3. iamcal+vF[view] [source] 2024-08-27 18:15:17
>>dig1+(OP)
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.

replies(2): >>vips7L+Jn1 >>lemmin+Bv2
◧◩
4. vips7L+Jn1[view] [source] [discussion] 2024-08-27 22:01:31
>>iamcal+vF
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
◧◩
5. lemmin+Bv2[view] [source] [discussion] 2024-08-28 10:20:08
>>iamcal+vF
I recommend using the JetBrains JRE, they have fixed lots of these sorts of issues, as well as greatly improved hot class reloading for development.
[go to top]