SwingRadio extends SwingElement implements XulRadio { public void setLabel( String label ) { radioButton.setText( label ); } SwingRadio( Element self, XulComponent parent, XulDomContainer domContainer, String tagName ); boolean isSelected(); void setSelected( boolean selected ); void layout(); void setLabel( String label ); String getLabel(); boolean isDisabled(); void setDisabled( boolean dis ); void setCommand( final String method ); String getValue(); void setValue( String aValue ); String getGroup(); void setGroup( String group ); @Override void onDomReady();  }
@Test public void testSetLabel() throws Exception { radio1.setLabel( "testing" ); assertEquals( "testing", radio1.getLabel() ); }