creat checkbox menu item attach specifi action object append end menu param action checkbox menu item ad checkbox menu item check box menu item add check item action valu action icon icon icon valu action small icon block ad bob tarl jan set checkbox accord select valu action select valu default order remain compat previou version code select valu select check box menu item mi check box menu item icon select select valu end block 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 