Re: Beginner question for netbeans 8.1 platform application

geertjan wielenga <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Organization Oracle Corporation
Message-ID <[email protected]>

Instead of googling, use the FAQ: 
http://wiki.netbeans.org/NetBeansDeveloperFAQ

No, you don't hide via annotations, but via the layer.xml file. For any 
more complex kind of application, you're going to be using the layer.xml 
file for various things. There's no serious NetBeans Platform 
application that doesn't make use of the layer.xml files.

Gj

On 6-1-2016 14:58, ctajuggler wrote:
> Thank you again for the feedback.
>
> One final question, if I may:
>
> I can add menu items to the menu bar using annotations; is there a way of hiding menu bar items I don't want to see using annotations? I've read your blogs e.g.
>
> https://blogs.oracle.com/geertjan/entry/customizable_corporate_menu_bar_for
>
> but they all basically involve editing the layers.xml file to add the _hidden tag to any default menu items (say, Navigate) that I don't want to see. Can annotations be used to achieve the same thing?
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.