Skip to content

DevFaqRenamingMenuItem

Antonio Vieiro edited this page Jan 25, 2018 · 1 revision

DevFaqRenamingMenuItem

Some module in the IDE etc. already has a menu item I can use. I just want to rename it. Can I?

If you are creating a custom application (e.g. Standalone Application in suite project properties) you specify a branding for the application. You can then override localized text strings from platform modules without modifying those modules directly; the overrides will be active whenever your branding is selected (this part is taken care of for you by the suite build harness). You will need to locate the module which defines the menu item and find the localized Bundle.properties which gives a label for it. Then you can create a file in your suite project like

branding/modules/''jarname''.jar/''path''/Bundle.properties

containing definitions of overridden labels.

When you enable branding on a suite the IDE automatically brands a few bundle strings for the main window title and so on, so you can look at these files for examples.

The Branding menu item on a suite (or Maven app project) lets you search for other strings and override them easily.

Applies to: NetBeans 5.0, 5.5, 6.x

=== Apache Migration Information

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

This page was exported from link:http://wiki.netbeans.org/DevFaqRenamingMenuItem[http://wiki.netbeans.org/DevFaqRenamingMenuItem] ,
that was last modified by NetBeans user Jglick
on 2011-12-14T00:19:11Z.


*NOTE:* This document was automatically converted to the AsciiDoc format on 2018-01-26, and needs to be reviewed.
Clone this wiki locally