Chapter 15. Swing
HOW do you write a program in the Java programming language with a graphical user interface? The short answer is the Swing toolkit! This chapter gives you a brief overview of the graphical capabilities of the core Java platform with a special focus on Swing.
This chapter does not show how to implement these features. For a “how-to” on using the Swing toolkit, see Creating a GUI with JFC/Swing.
A Brief Introduction to the Swing Package
This section gives you a brief introduction to the capabilities of the Java SE platform that pertain to developing programs with graphical user interfaces (GUIs). Next, it shows you a demo (sample code provided) that showcases many of these features.
The next section, Swing Features (page 470), discusses ...
Get The Java™ Tutorial Fourth Edition: A Short Course on the Basics 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.