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 9. Toggle Buttons, Check Boxes, and Radio Buttons

This chapter discusses three types of Swing buttons: toggle buttons, check boxes, and radio buttons, represented by the JToggleButton, JCheckBox, and JRadioButton classes, respectively.

All three buttons are ultimately extensions of the AbstractButton class, which implements nearly all of the functionality provided by the three classes listed above. See the ”Labels and Buttons” chapter beginning for more information concerning ...

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