A {@link RadioButton} whose label consists of a main label and a piece of descriptive text. The descriptivetext is placed below the main label.
102103104105106107108
return defaultSharingSettings.getSelectedItem(); } } private static RadioButton createRadioButton(SharingSettingsVisibilityOption visibilityOption) { return new AnnotatedRadioButton(RADIO_BUTTON_GROUP_NAME, visibilityOption.getSettingTitle(), visibilityOption.getSettingDescription()); }