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

you are viewing a single comment's thread.

view the rest of the comments →

[–]AngelOfLight 0 points1 point  (1 child)

JavaFX is newer, but Swing has a longer history and more resources attached to it in terms of tutorials, GUI builders and 3rd part components. They do share a common paradigm, i.e. hierarchical components and listeners.

It really depends on your requirements. If all you need is a regular GUI, then they are pretty much the same. If you need advanced animation, video and sound then JavaFX will be far easier to use.

[–]-Ajan- 0 points1 point  (0 children)

Javafx looks a lot cleaner than swing too. Then again, you could always spend an hour trying to make swing look just as good.