📜  如何在java代码示例中获取内容og a bottongroup

📅  最后修改于: 2022-03-11 14:52:30.395000             🧑  作者: Mango

代码示例1
JRadioButton maleButton = new JRadioButton( "Male" );
maleButton.setActionCommand( maleButton.getText() );