• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Should I learn Java Swing?  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cay! Congratulations for your book!

I saw that there is a large chapter about swing. How do you see the swing development today? In what scenarios do you understand that the swing is the best choice?

Thanks a lot!
 
author
Posts: 254
28
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the book, I think a little bit of Swing is ok to learn. It's not a big investment, provides examples of callbacks, some appealing programs, and a few utilities where the visual aspect makes sense.

I wouldn't bother more than the basics, though. I took out most of the Swing coverage from the 11th edition because very few people write user interfaces on the desktop in any language any more. UIs tend to be in JavaScript in a browser, or in a mobile OS. The few who still need this knowledge can peruse older editions on Safari.

The only Swing things that I left in was some 2D graphics and table/tree stuff that I have seen people use to generate images on the server or in command line tools.

I think that the 12th edition will have even less Swing, and it may eventually all go.

Cheers,

Cay

 
Marshal
Posts: 63454
207
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you planning to introduce FX iinstead?
 
Ranch Hand
Posts: 71
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Cay Horstmann wrote:
I think that the 12th edition will have even less Swing, and it may eventually all go.


Will the next editions of the book be released every 3 versions of Java as this edition covers Java 9, 10, 11 ? Or will be released only every LTS version of Java ? So the 12th edition will be released when Java 17th is released. ?
 
Cay Horstmann
author
Posts: 254
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At this point, I imagine that the book is updated for every LTS release. If something incredible were to happen for one of the other releases, there might be another Java n for the Really Impatient.

 
I just had the craziest dream. This tiny ad was in it.
Become a Java guru with IntelliJ IDEA
https://www.jetbrains.com/idea/
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!