• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is Swing worth studying?  RSS feed

 
Shivam Joshi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been actually making a project on Java Swing . But I came to know it is outdated .
Now I am really confused whether to continue it or stop it .
Please tell what are advantages of learning Swing at this point of time where web projects are preferred more .
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37181
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaFX replaced Swing more than web apps. Client side apps aren't that common, but they do exist.
 
Campbell Ritchie
Sheriff
Posts: 55351
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is one of those questions where the number of different answers given is equal to the number of people asked.
FX is better than Swing, so it is probably worth going for FX if you don't need to learn Swing.
 
Jesse Matty
Ranch Hand
Posts: 67
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you can  get something  that you can't sell and don't need for free is it worth it? Swing  is dead, but it appears that JavaFX is almost dead too or just never took off.  If you need to  program a  GUI  the better of the two tool kits to learn is JavaFX it's newer and can be used  as a GUI for web and android apps.
 
Tim Moores
Saloon Keeper
Posts: 3832
80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... JavaFX it's newer and can be used  as a GUI for web and android apps.

I wouldn't recommend it for either of those purposes. Web apps should be built on Javascript, not Java (not that I'd call it a web app if it starts Java). The JavaFX port for Android is rather lacking, IMO, and doesn't feel as "native" to use as the built-in GUI.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!