Chapter 2. Swing Rendering Fundamentals

THIS chapter covers the basics of Swing rendering, by which your Swing application paints the user interface that appears on the display. We cover the following topics:

Events: The way that Swing receives and processes events is key to understanding how threads interact within Swing and how your application threads interact with Swing and AWT events.

Painting: Swing painting is the process by which Swing manages application and system requests to update the display.

Rendering: Swing rendering is the process by which Swing calls its own internal code as well as your application code in order to render components’ contents.

Double-Buffering: Swing uses a back buffer to ensure smooth updates to the ...

Get Filthy Rich Clients: Developing Animated and Graphical Effects for Desktop Java™ Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.