Threading in Swing

Swing is a platform-independent, Model-View-Controller-based GUI toolkit for creating the graphical frontends of Java applications. In this appendix, I first explore Swing’s threading architecture and then explore Swing APIs for avoiding problems when additional threads are used in graphical contexts. Finally, I present a Swing-based slide show application as a significant example of this appendix’s content and as a fun way to end this book.

Image Note  I’ll assume that you have some experience with Swing APIs along with ...

Get Java Threads and the Concurrency Utilities now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.