Chapter 13. Building a Simple User Interface
WHAT YOU’LL LEARN IN THIS HOUR:
Using user interface components such as buttons
Using labels, text fields, and other components
Grouping components together
Putting components inside other components
Opening and closing windows
Computer users have come to expect their software to feature a graphical user interface (GUI), take user input from a mouse, and work like other programs. Although some users still work in command-line environments like MS-DOS or a Linux shell, most would be confused by software that does not offer a point-and-click, drag-and-drop graphical interface like in Microsoft Windows or Mac OS.
Java supports this kind of software with Swing, a collection ...
Get Sams Teach Yourself Java™ in 24 Hours, Fifth 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.