How do I hide menus without a layer file in NetBeans Platform?
问题 I am having a hard time customizing my menus in the NetBeans Platform. The examples I've seen require you to have a Layer file which I don't believe I have in my NetBeans Platform Project. To hide a menu via layers you are supposed to do this: <folder name="Menu"> <folder name="View_hidden"/> <folder name="Edit"> <file name="org-openide-actions-FindAction.shadow_hidden"/> </folder> </folder> I would like to know the annotation way of hiding menus. However, if this is the only way to do it,