java - Is there a JCheckBox listener for itemstateNOTchanged? -


i looking way add checkboxes in list, executing setselected(bool) method in jcheckbox. example:

//all checkboxes false cb1.setselected(true); cb2.setselected(true); cb3.setselected(false); cb4.setselected(false); 

itemlistener trigger on cb1 , cb2. actionlistener not trigger @ (only on doclick).

is there listener trigger, state not change method setselected(bool) executed?

thank =)


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

c# - Update a combobox from a presenter (MVP) -

android - Unable to generate FCM token from dynamically instantiated Firebase -