What's the deferent between java Fx and java swing? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's the deferent between java Fx and java swing?

What's the deferent between java Fx and java swing?

28th Apr 2017, 3:19 PM
Ali Aouf
Ali Aouf - avatar
8 Answers
+ 3
Java FX is more modern library with more modern features.
28th Apr 2017, 3:22 PM
Jeth
Jeth - avatar
+ 3
it is an enhanced GUI framework for java.. it has components like anchor pane, stage, Scenes, buttons, image view.. many more... And additionally it has a Scene builder .. One more thing it is easy in handling event, an fxml controller is created which automatically adds the handler for your components you have used (after you specify it in the scene builder) , it has got a good interface and much more
28th Apr 2017, 9:14 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 2
JAVAFX IS NOT the same as Swing. JAVAFX DOES NOT HAVE THE FUNCTIONS OF SWING FRAMEWORK.. It is just that , Swing has been outdated, Oracle does not apply any new updates to It. But it is still in use.. whereas JavaFx is future of GUI based on java.. It has many features..
28th Apr 2017, 8:06 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
does java Fx has all java swing functions?
28th Apr 2017, 3:23 PM
Ali Aouf
Ali Aouf - avatar
+ 1
can u pls do like here ? tnx
28th Apr 2017, 3:25 PM
Ali Aouf
Ali Aouf - avatar
+ 1
Yes, but it works somewhat different way than Swing so if you have been used to Swing earlier you have to learn that new principles before you can actually work with FX.
28th Apr 2017, 3:27 PM
Jeth
Jeth - avatar
+ 1
Sami_Khan can you please tell me what features are there in javaFX
28th Apr 2017, 9:10 PM
Ali Aouf
Ali Aouf - avatar
0
woow tnx a lot
28th Apr 2017, 9:16 PM
Ali Aouf
Ali Aouf - avatar