Sun Java Solaris Communities My SDN Account Join SDN
 

JavaOne Online Technical Sessions

Pump Up Your Technical Knowledge
Listen and watch as industry luminaries bring you the latest on Java technologies
Begin Product Tab Sub Links

Swing Threading 101: An Introduction to the Event Dispatch Thread
TS-4855


Presenter: Scott Gelb, BJC Healthcare; Scott Delap, Software Consultant, BJC HealthCare


Threading is a core concept that is always a puzzle to beginning Swing developers. This is probably because nothing in the API forces you to actually consider how threading affects your applications. As an application develops, threads are introduced to handle varying issues. If this is not done properly, the threads themselves create problems. This presentation explains the threading model of Swing. Then it discusses the structured threading solutions of SwingWorker, Foxtrot, and Spin. Finally, it covers how to detect incorrect thread usage in Swing with a custom repaint manager.

Watch The Session
You need to be a registered Sun Developer Network member to view this multimedia session. If you are a registered SDN member, please click on "Watch Multimedia" button to log-in to view the multimedia session. If you wish to join SDN, please click here.