Java’s Swing is allegedly in “maintenance mode”, so I doubt it’s a good idea to use it for new programs. For example, I very much doubt that it will ever support Wayland.
The replacement is supposed to be JavaFX, but that’s not included in JREs – anymore! It used to be, now it’s not, even though it’s well over 15 years old now.
This whole thing (“Java GUIs”) appears to have stagnated a lot. Probably because everything is web stuff these days …
https://www.oracle.com/java/technologies/javafx/faq-javafx.html#6
#65x3psa
(#65x3psa) @movq@www.uninformativ.de That and no sane person writes Java™ anymore right? 🤣
#rydbvba
(#65x3psa) @prologic@twtxt.net That too, yeah … 😢
#emks6uq
(#65x3psa) @movq@www.uninformativ.de Never used Java FX.
#u4l7uva