Summary

This is the last of four hours devoted to Swing, the part of the Java language that supports windowing software.

Java offers extensive support for the graphical user interface features expected by users of Microsoft Windows and Apple Macintosh systems.

Although Swing is by far the largest part of the Java class library, most of the classes are used in similar ways. Once you know how to create a component, add a component to a container, apply a layout manager to a container, and respond to user input, you can make use of many new Swing classes as you explore the language.

Get SAMS Teach Yourself Programming with Java™ in 24 Hours, FOURTH EDITION 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.