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 - Check boxes displayed alongside all menu items
Summary: Check boxes displayed alongside all menu items
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.0
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-08 12:31 UTC by Mattdje
Modified: 2011-08-08 17:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Checkboxes alongside all menus items (main menu) (25.15 KB, image/png)
2011-08-08 12:31 UTC, Mattdje
Details
Checkboxes alongside all menus items (contextual menu) (25.15 KB, image/png)
2011-08-08 12:32 UTC, Mattdje
Details

Note You need to log in before you can comment on or make changes to this bug.
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();