Java Reference
In-Depth Information
Sample output is shown here:
The operation of this program is straightforward. Each time a check box is changed, an
ActionEvent
is generated. The handlers for these events first report whether the check box
was selected or cleared. To do this, they call the
isSelected( )
method on the event source.