r/learnjava • u/Ieris19 • Jun 13 '22
Java User Interface Frameworks
At my university, we have worked with JavaFX which is quite dated as a UI framework for Java, but somehow manages to still be good enough for the simple applications we’ve been building.
I wanna however, move to a more viable framework, but I have no idea what I could use to build a UI in Java other than Swing (which tbh, is no different from JavaFX).
What frameworks are out there that I could use to build a UI? Are there any good resources you know? Any tip is appreciated
0
Upvotes
-5
u/Ieris19 Jun 13 '22
Yes, however, CSS is not vanilla CSS, it’s FXCSS I think they call it, it’s just a fancy name for changing some aesthetic properties of the components. So that’s a whole other framework to learn that while powerful, it’s not quite as easy.
And sure, web-views in JFX support many other things, but it’s again, nothing other than vanilla websites unless you’re using yet another framework on top.
Finally, JFX on its own has several flaws like not supporting Z-index (or I haven’t figured out how). So while I don’t doubt it’s up to date, and that it can become quite powerful. Without other frameworks it’s quite limited.
It’s also been around for a LONG time so obviously it must be robust. I’m not saying it’s worthless, just dated (just like Java to be fair)