Chapter 14. Basic Swing
Topics in This Chapter
Building Swing applets and applications
Changing the GUI look and feel
Adding custom borders to components
Creating text and image buttons
Using HTML in labels and buttons
Selecting colors with JColorChooser
Sending dialog alerts for user input
Adding child frames to applications
Building custom toolbars
Implementing a Web browser in Swing
Many programmers consider the Swing components to be the single most significant improvement and change in the Java platform for development of graphical user interfaces. Swing adds the small touches (icons in dialog boxes, tool-tips, borders) that distinguish a commercial-quality GUI from an amateurish one.
The Swing components are standard in the Java 2 Platform and go ...
Get Core Web Programming, 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.