What You’ll Learn in This Hour:
• Scrolling components horizontally and vertically
• Accepting a range of numeric input with sliders
• Monitoring user input on sliders
• Creating image icons and toolbars
Creating a graphical user interface (GUI) with Swing involves more than learning how to use the different interface components, layout managers, and event-handling methods. You also have to familiarize yourself with everything that Swing offers.
More than 400 different classes make Swing one of the most extensive class libraries in Java. Many of these classes can be implemented using the same techniques you have learned during the preceding three hours—Swing containers and components share superclasses with each other, which gives them common behavior.
During this hour, you learn about additional components that you can use in your Swing programs.
18.220.202.209