26.1 Introduction
[Note: JavaFX (Chapters 12, 13 and 22) is Java’s GUI, graphics and multimedia API of the future. We provide this chapter and Chapters 27 and 35 as is from this book’s Tenth Edition for those still interested in Swing GUIs.]
A graphical user interface (GUI) presents a user-friendly mechanism for interacting with an application. A GUI (pronounced “GOO-ee”) gives an application a distinctive “look-and-feel.” GUIs are built from GUI components. These are sometimes called controls or widgets—short for window gadgets. A GUI component is an object with which the user interacts via the mouse, the keyboard or another form of input, such as voice recognition. In this chapter and Chapter 35, Swing GUI Components: Part 2, you’ll learn ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access