question: void addRadioButton ( String key , RadioButton rb , String value ) { if ( rb . isSelected ( ) ) { defaultCheckedButtons . addElement ( rb ) ; } else { defaultUncheckedButtons . addElement ( rb ) ; } if ( key == null ) { return ; } Hashtable internal = ( Hashtable ) comps . get ( key ) ; ButtonGroup group = null ; if ( internal == null ) { internal = new Hashtable ( ) ; comps . put ( key , internal ) ; group = new ButtonGroup ( ) ; buttonGroups . put ( key , group ) ; } else { group = ( ButtonGroup ) buttonGroups . get ( key ) ; } group . add ( rb ) ; internal . put ( rb , value ) ; }
target:  Adds the specified RadioButton to the form. Note that unlike adding to a Codename One form here the components are added logically only to query them for their value on submit.