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 -

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

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -