void addCheckBox(String key,CheckBox cb,String value){
  if (cb.isSelected()) {
    defaultCheckedButtons.addElement(cb);
  }
 else {
    defaultUncheckedButtons.addElement(cb);
  }
  if (key == null) {
    return;
  }
  Hashtable internal=(Hashtable)comps.get(key);
  if (internal == null) {
    internal=new Hashtable();
    comps.put(key,internal);
  }
  internal.put(cb,value);
}

void addCheckBox ( String key , CheckBox cb , String value ) { if ( cb . isSelected ( ) ) { defaultCheckedButtons . addElement ( cb ) ; } else { defaultUncheckedButtons . addElement ( cb ) ; } if ( key == null ) { return ; } Hashtable internal = ( Hashtable ) comps . get ( key ) ; if ( internal == null ) { internal = new Hashtable ( ) ; comps . put ( key , internal ) ; } internal . put ( cb , value ) ; }
adds the specified checkbox 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 .
