| new JRadioButton ( object_string, boolean_checked ) | ใช้สร้าง object jradiobutton โดยมีการกำหนด ข้อความ ให้กับ object ด้วย |
|---|
method:new JRadioButton ( object_string, boolean_checked );
return type:JRadioButton
content:ใช้สร้าง object jradiobutton โดยมีการกำหนด ข้อความ ให้กับ object ด้วย และกำหนดด้วยว่า object นี้ถูกเลือกแล้วหรือไม่
example:String radio_text_label = new String ( "man" ); JRadioButton radio_button = new JRadioButton ( radio_text_label, false );