Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7896573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:55:45+00:00 2026-06-03T07:55:45+00:00

Does anyone know how to edit the menus shown in the skeleton created by

  • 0

Does anyone know how to edit the menus shown in the skeleton created by the Netbeans platform?

Thanks in advance for the time you will spend trying to help me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T07:55:46+00:00Added an answer on June 3, 2026 at 7:55 am

    Preamble: the only way to edit menu items that are present in the platform is through one of your own modules. This means that in order to remove or rename a menu item in another module you must first add a module to your application. Your application is not itself a module but a (potential) collection of modules.

    The simplest way to edit the menus for an NB Platform based application is the following:

    1. In one of your modules, expand the Important Files node
    2. Expand the XML Layer node (assuming the module has a layer file¹)
    3. Expand the This layer in context node
    4. Expand the Menu Bar node
    5. Right-click on any menu (folder node) or menu item (file node) and select Delete

    This will add the necessary entries to your modules layer file (_hidden entry) and as long as this module is loaded these menus and menu items will not be loaded. If you want to restore an item in the future you can either remove the entry from the layer file or right-click the item and select Restore.

    Edit

    Here’s a method for renaming a menu item:

    1. Using the above technique to find the entry you want to rename
    2. Right-click the node and select “Go to Declaration”
    3. Look for the attribute with a name of “SystemFileSystem.localizingBundle”
    4. Open the application’s branding interface (right-click on your application’s node and select Branding...)
    5. Choose the Resource Bundles tab
    6. Look for the Bundle node that has the value you found in step 3

    The name of the menu item will be located in this Bundle’s node. Just edit this and it will be changed in your application. The key here is to locate the Bundle that the menu item is named in.

    Here’s a method for replacing a menu item’s action:

    1. Follow steps 1 and 2 from the previous outline
    2. Once you’ve gotten to the declaration, search (Ctrl + F) the same file for the originalFile value (you’re only looking for the .instance declaration)²
    3. Once you’ve found where the action is defined, copy the structure to your layer file
    4. Using the delegate attribute you can redefine what action is used for this menu item

    The point here is to override the menu item’s action definition in your layer file, replacing the action with your own. You can also use this technique to override the display name of the action but the Branding technique is simpler if you don’t need to replace the action as well.


    ¹If your module doesn’t have a layer file you’ll need to create one before you can use this technique. This requires that you create a layer.xml file in one of your module’s packages. Then you need to register this file in your Modules Manifest file using the following OpenIDE-Module-Layer: com/example/mymodule/layer.xml

    ²For this step you can highlight the .instance name of the originalValue attribute’s value and press Ctrl + F. For example, if the originalValue attribute’s value is Actions/Window/org-netbeans-core-windows-actions-RecentViewListAction.instance you want to highlight only the org-netbeans-core-windows-actions-RecentViewListAction.instance part. The point here is to find where the action is defined (this part of the layer file is only adding the action to the menu).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

does anyone know how you edit/maintain regions in magento - specifically adding ones for
Does anyone know how can I edit a subitem on a listView? I've tried
Does anyone know how to allow users to edit another user´s email in a
Does anyone know how to enable or disable programmatically the Quick Edit Mode in
Does anyone know if views states (used in Silverlight) will be available in next
Does anyone know of any (free) tools that will convert an old Delhi 5
Does anyone know how to validate if you are in Add Mode vs. Edit
Neither this nor that works. Does anyone know what is going on?? Edit: qwerty
Does anyone know of an online CSV editor written in PHP that will allow
I want to access a struct within a struct, does anyone know how? EDIT:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.