How to remove items from menu in netBeans platform?

后端 未结 4 754
既然无缘
既然无缘 2021-01-02 03:41

I have module application. When I run it, the main window of that app has quite complex menu. How to remove some items from menu?

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-02 03:46

    You can remove menu items from the menu bar by adding entries to your project's layer.xml file.

    You should read through 'Tweaking the User Interface' from the 'NetBeans Platform HTML Editor' tutorial to get a rough idea of what you will need to do.

    There is another tutorial-ish description of using the layer file to hide items, too.

提交回复
热议问题