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.
There should be a way to remove the menubar completely. My application which I want to port to the netbeans platform uses its own menu system (outlook-like JXTaskPane from swingx) and I don't need a menubar. Currently the toolbar can be removed by the property "netbeans.winsys.no_toolbars". The most intuitive way to realize this would be to suppress the menubar or toolbar if no folder "Menu" or "Toolbars" is available. So I can remove (hide) the folder "Menu" from layer.xml and no menubar will be created. Same should be true for toolbars. The property is not a very nice solution. See org.netbeans.core.windows.view.ui.MainWindow where menubar and toolbar will be created. Product Version: NetBeans IDE 6.1 (Build 200804211638)
reassigning to openide/window system
Use <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" "http://www.netbeans.org/dtds/filesystem-1_2.dtd"> <filesystem> <folder name="Menu_hidden"/> <file name="Toolbars_hidden"/> </filesystem> See https://blogs.oracle.com/geertjan/entry/menus_and_toolbars_are_optional