All My JMenuItems Have JCheckBoxes!!!
By Geertjan on Aug 14, 2011
Understandably, if you're creating an application and all your menu items suddenly have checkboxes, as shown below, you'll not be very happy.
Debugging this problem is next to impossible. The only question you should be asking yourself if you see something like the above is: "Am I using JIDE?"
As you can read here, the problem relates to JIDE and the fact that it overrides some global settings in certain cases. Thanks to Rob Terpilowski from Lynden in Seattle (where yet another NetBeans Platform application is being created), the solution is to put these statements into the "restored" method of your "ModuleInstall" class:
And here's an issue where the above is reported and the solution above works there too: