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.
JFrame`s property sheet has menuBar property (with type java.awt.MenuBar), but hasn`t JMenuBar property (with type javax.swing.JMenuBar). I think it should have JMenuBar property rather than menuBar property. JInternalFrame`s property sheet has JMenuBar property (on Properties tab) and _menu bar_ property (on Code Generation tab), but these properties don`t cooperate - the second one overrides the first one. I think they should cooperate or there should be only one of them.
The "menuBar" property is taken automatically from JDK's generated beaninfos. JFrame inherites this property from AWT Frame, and also has a "JMenuBar" property, but it is hidden. Maybe this should be conversely (or both hidden). JInternalFrame uses both "JMenuBar" and "menuBar" ("menuBar" is deprecated), no one is hidden. I think this is some inconsistency in AWT/Swing libraries. Property "menu bar" on the code generation tab is a special support (from the form editor) for choosing the main menu bar (from more menu bars created for the form). User should use this one.
Priority is changed to P4 (normal).
Bug assigned to the module owner.