O'Reilly logo

Graphic Java™ 2, Volume II: Swing, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. The JComponent Class

The JComponent class is the base class for all Swing lightweight components, which entitles it to a chapter of its own. JComponent is to Swing what java.awt.Component is to the AWT; both serve as the base class for their respective framework's components.

As the ancestor of all Swing lightweight components, JComponent provides functionality that is essential and substantial. To get the most out of Swing, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required