No ButtonGroup.clearSelection() method in Apache Harmony Java -
when tried port code sun jdk apache harmony, clearselection() method of the buttongroup objects flaged compilation error. can instead?
something like
enumeration<buttonmodel> buttons = buttongroup.getelements(); while(buttons.hasmoreelements()) { buttongroup.setselected(buttons.nextelement().getmodel(), false); }
iterate through group , set each buttons selection state false.
Comments
Post a Comment