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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -