Note: These pages are being reviewed.
Looking at the UI how do I find a module that implements a menu item?
Looking at text in IDE such as a menu item, window title, node display name, etc. you may want to change it. But first you need to find where in the code this string is produced. It is very easy to find if you add the following switch into your
If you use this switch all strings loaded from
Bundle.properties files using
org.openide.util.NbBundle will have two numbers appended to them. The first number identifies the bundle file. Look for this number in the IDE log to find the location of the properties file that provides this string.
Another handy trick: in a built source tree, run
$ ant index-layer-paths
to see which module (by code name) contributes each layer file (or folder), including menu items and so on. You can also just look at the trunk version of this file here.
Apache Migration Information
The content in this page was kindly donated by Oracle Corp. to the Apache Software Foundation.
This page was exported from http://wiki.netbeans.org/DevFaqFindLocationInSourcesFromUi , that was last modified by NetBeans user Admin on 2009-11-06T15:44:35Z.
NOTE: This document was automatically converted to the AsciiDoc format on 2018-02-07, and needs to be reviewed.