Day 9. Working with Swing

Computer users today expect the software they use to feature a graphical user interface (GUI) with a variety of widgets such as text boxes, sliders, and scrollbars. The Java Class Library includes a set of packages called Swing that enable Java programs to offer a sophisticated GUI and collect user input with the mouse, keyboard, and other input devices.

Today, you will use Swing to create applications that feature these GUI components:

Image Frames—Windows that can include a title bar; menu bar; and Maximize, Minimize, and Close buttons

Containers—Interface elements that can hold other components

Buttons—Clickable regions ...

Get Sams Teach Yourself Java™ in 21 Days (Covering Java 8), Seventh 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.