creat radiobutton menu item attach specifi action object append end menu param action radiobutton menu item ad radiobutton menu item radio button menu item add radio item action valu action icon icon icon valu action small icon set checkbox accord select valu action select valu default select valu select radio button menu item mi radio button menu item icon select select valu mi set horizont text posit swing constant right mi set vertic text posit swing constant center mi set enabl enabl mi add action listen add mi add properti chang listen creat action chang listen mi mi 