ButtonGroup : Java Glossary


A Swing component that groups together JToggleButtons, JRadioButtons or JCheckBoxes so that when one is pushed the others are automatically deselected. The AWT (Advanced Windowing Toolkit) equivalent is called CheckboxGroup. You use ButtonGroup to define which JRadioButtons etc. are connected. ButtonGroup does nothing visually. It is up to you to place the individual buttons, or set them off in such a way it is clear they are logically connected.

Learning More

Oracle’s Javadoc on ButtonGroup class : available:

This page is posted
on the web at:


Optional Replicator mirror
of mindprod.com
on local hard disk J:

Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number