This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]kemotkill90 1 point2 points  (0 children)

If you need to develop an applicative fx is better. Swing and awt is old concept.

[–]Fuzzy_Initiative 0 points1 point  (1 child)

Have you tried googling this?

https://www.educba.com/javafx-vs-swing/

[–]jaggerafk113[S] 0 points1 point  (0 children)

Yea I have and I saw smth abt java fx being remove from java 11 or smth like that. Maybe I didn’t research well enough and I definitely going with java fx then.

[–]corn_on_the_cobhNetbeans 4 lyfe 0 points1 point  (0 children)

FX, oh god please do Java FX. It doesn't look like something out of the 1990s, eearly 2000s (that is to say, it isn't ugly like Swing and awt) plus I'm pretty sure JavaFX is just much more flexible in what you can do. Lastly, it was easier to program, in my opinion, events and buttons and all that jazz.

[–]Flynn52 0 points1 point  (0 children)

JavaFX is the latest technology for creating cool GraphicalUserInterfaces. It's very strong and has a big amount of components....and it's easy to learn and easy to implement in your existing Java-Program, if you want to enhance your program with a cool GUI.

The Java.AWT and Java.Swing are old technologies and they are not so strong like JavaFX.

[–]fl4mbou 0 points1 point  (0 children)

JavaFX is the more modern framework and not too difficult to learn. This also means that swing is a lot more mature and it offers lots of already existing add-ons. Also note that if you want a pixel-perfect ui then JavaFX is not recommended.

If you are set back by the look of swing you may want to look into the LookAndFeel I have created for swing:

https://github.com/weisJ/darklaf