Bug 200756 - Check boxes displayed alongside all menu items
Check boxes displayed alongside all menu items
Status: RESOLVED FIXED
Product: platform
Classification: Unclassified
Component: Window System
7.0
PC Windows 7 x64
: P3 (vote)
: TBD
Assigned To: Stanislav Aubrecht
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-08 12:31 UTC by Mattdje
Modified: 2011-08-08 17:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


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();


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo