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 196444 - Cannot add a JButton to a JMenuBar
Summary: Cannot add a JButton to a JMenuBar
Status: RESOLVED DUPLICATE of bug 105059
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: -S1S-
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-08 15:25 UTC by alzoid
Modified: 2011-11-09 14:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alzoid 2011-03-08 15:25:48 UTC
The GUI editor in swing only allows you to add Menus to a JMenuBar.  However any component can be added to a menu bar.

Test case:

Create a JMenuBar
Try to Drag a JButton to the Menu Bar in the GUI editor
Try to  Drag a JButton to the Menu Bar in the Inspector
Comment 1 Jan Stola 2011-11-09 14:43:00 UTC

*** This bug has been marked as a duplicate of bug 105059 ***