fixed swing performance issue with checkboxes and radiobuttons

reduced layout time for checkbox and radiobutton from 68ms to 1ms
Merge pull request #10 from croydondias/master

fixed swing performance issue with checkboxes and radiobuttons