Scott Delap writes the popular Client Java blog and has authored the latest release from SourceBeat: Java Desktop Live.
In this excerpt, Scott begins by giving you an up-close look at the event dispatch thread (EDT), which is responsible for dispatching events to the appropriate Swing component and for performing the paint operations of Swing components. It doesn't take long for even experienced programmers to lock up the user interface or dramatically slow down the responsiveness of a Swing application. This excerpt takes a close look at the Swing threading model and provides advice and examples for getting the most out of your Swing application.
This book excerpt is from Java Desktop Live by Scott Delap, copyright 2005. All
rights reserved. This chapter is posted with permission from SourceBeat.
We are presenting this book excerpt as a PDF download. The file size is a little over 560K. Download Chapter 5: "Swing Threading."