e769. 在按钮组中选择一个单选按钮

2023-05-22,,

// To create a radio button and button group,
// see e768 创建单选按钮 // Select the radio button; the currently selected radio button is deselected.
// This operation does not cause any action events to be fired.
ButtonModel model = radioButton.getModel();
group.setSelected(model, true);
Related Examples

e769. 在按钮组中选择一个单选按钮的相关教程结束。

《e769. 在按钮组中选择一个单选按钮.doc》

下载本文的Word格式文档,以方便收藏与打印。