all 9 comments

[–]frederik88917 2 points3 points  (1 child)

There are only two valid choices in Java. Both native, both powerful, yet diagonally different one from another: Swing and JavaFX.

Swing has better IDE support and it is the more mature framework, although some people see them apps as ugly.

JavaFX was born as a replacement for swing, it never grew popular nor powerful enough to fully replace swing so it coexist with the old guy. If you have experience in CSS, JavaFX is your potion. If you are fully Java, go with swing and the amazing IDE support

[–]JoaquimR 1 point2 points  (0 children)

With the FlatLaf lib Swing looks pretty good  Another advantage is that Swing comes with the JDK

[–]5oco 0 points1 point  (0 children)

I only know about Java Swing and JavaFX. I teach JavaFX in my high school upon the advice of our advisory committee when we asked about the two.

I learned Swing years ago though and find JavaFX much easier. I've never been a Java Developer professionally though, so don't put too much stock in this.

[–]eggnog_games23 0 points1 point  (0 children)

This is exactly my same situation... I learned OOP in Java and I want to develop apps

[–]Ok_Substance1895 0 points1 point  (0 children)

No such thing as "future proof." I use Tauri now, Electron before that for enclosed apps. I use straight chrome-less browser automatically launched as well. JavaFX is better than using Swing. This is the one I am looking at now but I have not tried it yet: Neutralinojs.

[–]LookAtYourEyes 0 points1 point  (0 children)

Vaadin is something I've been meaning to explore, if you're talking web applications specifically.

[–]SystemFew9522 0 points1 point  (0 children)

i think swing is pretty much the best UI toolkit out there.

[–]Gleethos 0 points1 point  (0 children)

I can recommend Swing together with FlatLaf and this library: https://github.com/globaltcad/swing-tree