Day 9. Building a Swing Interface
With the popularity of Apple MacOS and Microsoft Windows, most computer users expect software to feature a graphical user interface and things they can control with a mouse. These software amenities are user friendly but programmer unfriendly in many languages. Writing windowing software can be one of the more challenging tasks for a novice developer.
Java 2 has simplified the process with Swing, a set of classes for the creation and usage of graphical user interfaces.
Swing, an extension of the Abstract Windowing Toolkit introduced in Java 1.0, offers the following features:
Common user interface components such as buttons, scrollbars, lists, and sliders
Containers—interface components that can be used to hold ...
Get Sams Teach Yourself Java 2 in 21 Days, Second 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.