Components fire the item events which are involved in implementation of the interface ItemSelectable. ItemSelectable components usually maintain off and on state for the items. Swing components involved in firing items include certain buttons, for example, check menu items, combo boxes, check boxes and toggle buttons etc. Code for the item event handling that has been taken by ComponentEventDemo.java. Java Code: //where initialization occurs checkbox.addItemListener(this); ...
//where initialization occurs checkbox.addItemListener(this);
thanks...
sorry for all the questions
thanks...
06-14-2013, 02:22 PM in gbonecapone