What best to build a nice UI with Java, JFrame or JavaFX? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What best to build a nice UI with Java, JFrame or JavaFX?

I wanna build a nice UI but I need to know what library I should choose between JFrame and java FX. which one would give me the nicest UI.

26th Feb 2018, 11:12 PM
Tizekod
Tizekod - avatar
4 Answers
+ 10
JFrame is a class in Swing, which is an older GUI library for Java, in comparison to JavaFX.
27th Feb 2018, 12:33 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
@Arnaud sorry to interrupt, I think #Hatsy has answer your question, since java fx is the new frame. oh I can recall that with java fx you can build very nice looking ui
27th Feb 2018, 12:46 AM
Nura Programmer
Nura Programmer - avatar
+ 1
What do you mean then? Which one would give me the better, nicer UI
27th Feb 2018, 12:36 AM
Tizekod
Tizekod - avatar
+ 1
Ok thank you man, it's clearer
27th Feb 2018, 12:51 AM
Tizekod
Tizekod - avatar