kate:
A subscribed ChangeListner would be notified wheh the button is
armed, pressed, selected, or released. It is also notified of changes to the ButtonModel such as for the keyboard mnemonic (keyevent).
You probably should not use
addChangeListner( ).
If you want to get notified when the user toggles the state of the JCheckBox, you need to use an
ActionListner instead.
regds.
- satya
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81