This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 200756

Summary: Check boxes displayed alongside all menu items
Product: platform Reporter: Mattdje
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: Checkboxes alongside all menus items (main menu)
Checkboxes alongside all menus items (contextual menu)

Description Mattdje 2011-08-08 12:31:54 UTC
Created attachment 109854 [details]
Checkboxes alongside all menus items (main menu)

Frequently, in the NetBeans Platform application I'm
working on, all menu items (from the main menu or any contextual menu) are displayed with a check box (even if a check box doesn't make sens for the menu item).

See attached screenshots for a better explanation.

This issue occurs very often but I haven't managed yet to know how to reproduce
it.

If I restart the application, the menus are properly displayed.
Comment 1 Mattdje 2011-08-08 12:32:18 UTC
Created attachment 109855 [details]
Checkboxes alongside all menus items (contextual menu)
Comment 2 Geertjan Wielenga 2011-08-08 13:36:34 UTC
Are you using JIDE in your application?
Comment 3 Geertjan Wielenga 2011-08-08 13:40:42 UTC
If you are using JIDE, put this into a NetBeans ModuleInstall class, into the "restored()" method, and you'll be OK:

        LookAndFeelFactory.installDefaultLookAndFeel();
        LookAndFeelFactory.installJideExtension();
Comment 4 Mattdje 2011-08-08 17:08:51 UTC
In fact, I'm using JIDE libraries in my application.
I added the two lines to the restored method of my Installer class.
It seems to have solved the issue.
Thanks a lot for your advice!

(In reply to comment #3)
> If you are using JIDE, put this into a NetBeans ModuleInstall class, into the
> "restored()" method, and you'll be OK:
> 
>         LookAndFeelFactory.installDefaultLookAndFeel();
>         LookAndFeelFactory.installJideExtension();