Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is Swing worth studying?  RSS feed

 
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 .
 
author & internet detective
Sheriff
Posts: 38027
605
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.
 
Marshal
Posts: 58367
178
  • 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.
 
Ranch Hand
Posts: 81
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.
 
Saloon Keeper
Posts: 4337
108
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!