Home > Articles

  • Print
  • + Share This
This chapter is from the book


In this lesson you began working with Swing, the package of classes that enables your Java programs to support a GUI.

You used more than a dozen classes in this lesson, creating interface components such as buttons, labels, and text fields. You put each of these into containers: components that include panels, frames, and windows.

This kind of programming can be complicated. Swing is the largest package of classes that a new Java programmer must deal with in learning the language. However, as you have experienced with components such as text areas and text fields, Swing components have many superclasses in common. This makes it easier to extend your knowledge into new components and containers, along with the other aspects of Swing programming you will explore in the coming lessons.

  • + Share This
  • 🔖 Save To Your Account