• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Where to learn Swing the RIGHT way?

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, so I can alreayd write swing code, I've been doing some of it since 1.2 days but much more so recently. However, I never learned to do it the "right" way.

By right way, I mean using the SwingUtilities.invokeLater and such. All of the books I have ever read never showed that stuff (or SwingWorker, etc.) It seems like all of the books on Swing programming do everything in the main thread, (probably because they usually are building small example programs.)

I'm not looking for something to teach me how to use the various Swing components. That I can do. I'm more interested in finding some documentation that shows the correct way to architect a Swing program, respond to user actions, use background processing threads, and update the UI based on activities that take place on the back-end (NOT just update based on the end result of processing invoked by the user pressing a button or something like that.)

I was HOPING to learn some of this stuff at the Java University held the day before the JavaOne 2005, but it was just a quick overview on the various components, not something to teach design+proper architecture.

Does anyone have a good book suggestion on this topic that will meet my needs? Or some good web links?

Thanks!

--Mike
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the perfect book for you. Desktop Java Live. It has exactly what you are looking for. The sample chapter is on threads. Take a look at it.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic