r/learnjava • • 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

13 comments sorted by

View all comments

Show parent comments

2

u/morbie5 Jun 13 '22

So is java really ever used for PC based applications anymore? I think the only app written in java on my PC is jdownloader 2, and im not even sure if that is still written in java.

3

u/pragmos Jun 13 '22

All of the popular Java IDEs to this date (IntelliJ IDEA, NetBeans, Eclipse) are built in Java.

I also had a big client that offered a desktop application built with Swing as part of their package suite. In the corporate world, Java UI is still a thing, but because it's proprietary software and focused on niche real-world applications, we don't hear about it often.

1

u/HecknChonker Jun 13 '22

Do you know if IDEA built on java FX? Or is it using something more custom?

3

u/pragmos Jun 13 '22

Swing, albeit with a very customized style, that's why it looks so good. You can find the source code of the Community Edition on Jet Brains' GitHub if you're interested.