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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -