Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need info on SwingUtilities

 
Ravi Sathish
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

i'm working on single-threaded modelled swing based application. We are thinking of moving multithreaded model.

Where do I start? I was trying to find info on SwingUtilities could not find much info?

I would appreciate if you could please post any good books/ web links/ articles related to this area

TIA
R
 
Ravi Sathish
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be I should check out Scott Delap's "Desktop Java Live". any ideas whether this book answers my queries?
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I still belive Google will give you enough hints ;-) (for example: try with SwingUtilities usage)

--
:alex |.::the_mindstorm::.
 
Scott Delap
author
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The sample chapter (Chapter 5 Threading) is 30+ pages full of threading. It breaks down the Swing Threading model and how SwingUtilities works. There are examples of the various SwingUtilities threading methods. After that I explore Spin, Foxtrot, and SwingWorker. There are three libraries that help structure your Swing code in respect to threading. Foxtrot is good if you just want to solve a few application freezing issues. Spin and SwingWorker are good if you want to added more multi-threaded code. If you get really in depth, you might consider looking at one of the commons thread pooling libraries and creating a jobs framework to asynchronously spawn off jobs in the background. Btw, the sample chapter should be up on the SourceBeat site later this week.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Scott Delap:
The sample chapter (Chapter 5 Threading) is 30+ pages full of threading. It breaks down the Swing Threading model and how SwingUtilities works. There are examples of the various SwingUtilities threading methods. After that I explore Spin, Foxtrot, and SwingWorker. There are three libraries that help structure your Swing code in respect to threading. Foxtrot is good if you just want to solve a few application freezing issues. Spin and SwingWorker are good if you want to added more multi-threaded code. If you get really in depth, you might consider looking at one of the commons thread pooling libraries and creating a jobs framework to asynchronously spawn off jobs in the background. Btw, the sample chapter should be up on the SourceBeat site later this week.


Wow, I'd love to get my hands on that chapter alone. The book sounds really interesting. Thanks for the information Scott.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic