Apache NetBeans Wiki Index

Note: These pages are being reviewed.

How do I hide/remove default toolbar buttons and/or menu items?

Create a layer.xml file in a NetBeans module (in the New File wizard, choose Module Development | XML Layer). Once you have created the layer.xml file, expand it in the Important Files node, find the item you want to remove, right-click on it, choose Delete. The _hidden tag for the layer folder or file will be added to your layer.xml file.

Alternatively, if you know the applicable names of folders or files, add the information to the layer.xml file yourself, e.g:

<folder name="Menu">
    <folder name="File">
        <file name="org-netbeans-modules-project-ui-NewFile.shadow_hidden"/>

Apache Migration Information

The content in this page was kindly donated by Oracle Corp. to the Apache Software Foundation.

This page was exported from http://wiki.netbeans.org/DevFaqHideRemoveToolbarMenu , that was last modified by NetBeans user Geertjan on 2016-01-06T16:58:05Z.

NOTE: This document was automatically converted to the AsciiDoc format on 2018-02-07, and needs to be reviewed.