When to Use notifyAll() Instead of notify()

Chapter 9 - Threads and Swing

Java Thread Programming
Paul Hyde
  Copyright 1999 Sams Publishing

Chapter 9: Threads and Swing
Overview
The Swing graphical toolkit brings a host of new components to the Java platform. Theres a catch, thoughSwing components are not designed for a multithreaded environment. In this chapter, Ill show how you how to safely interact with Swing components in a multithread-safe manner using SwingUtilities.invokeAndWait() and SwingUtilities.invokeLater() . Ill also show you some ways that animation can be achieved using Swing components and threads.

Toc


Java Thread Programming
Java Thread Programming
ISBN: 0672315858
EAN: 2147483647
Year: 2005
Pages: 149
Authors: Paul Hyde

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net