Jaime Caetano wrote:I'm learning Java Swing at school, but i've been told that no uses it anymore in the real world
You were told wrong. Web development is much more common these days and Swing is completely neglected by Oracle, but it's certainly not "dead" in any meaningful sense of the
word as some claim.
Bear Bibeault wrote:JavaFX
Talk about leading someone into the weeds (or "reeds" if you have a tendency towards malapropisms). JavaFX has been promoted by Oracle but almost nobody seems to care. As evidence, look at the activity (or rather, lack of it) on this web site's
JavaFX forum. Better yet, Google "javafx acceptance" and follow some of the links. You'll find a lot of speculative / hopeful "will people finally start using JavaFX this year?" stuff and one of the top links is a fairly recent java.net poll indicating that 85% of the developers that responded have never even tried using JavaFX. If you want expertise in "real world" technology then learn how to write web applications, but if you're specifically interested in desktop development then you're much better off sticking with Swing.