If I create a JCheckBoxMenuItem with text only, it works as expected on Windows. After I click on the item, a check mark will appear. However, if I create the menu item with icon, the check mark won't show after click.
It works fine on Mac. A display issue with Mac is that JCheckBoxMenuItem without icon won't align with other menu items that have icons.