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

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -

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

geospatial - MongoDB Bound Queries: How do I convert mile to radian? -