| new JRadioButton ( object_icon, boolean_checked ) | ใช้สร้าง object JRadioButton โดยมีการกำหนด icon ให้กับ object ด้วย |
|---|
method:new JRadioButton ( object_icon, boolean_checked );
return type:JRadioButton
content:ใช้สร้าง object JRadioButton โดยมีการกำหนด icon ให้กับ object ด้วย และกำหนดด้วยว่า object นี้ถูกเลือกแล้วหรือไม่
example:ImageIcon icon = new ImageIcon ( "C:/bamboo.gif" ); JRadioButton radio_button = new JRadioButton ( icon, true );