The Bundle Code Format property editor sets the default code format that the IDE uses to initialize resource bundles. The IDE uses this format whenever it automatically generates bundle initialization code with the Internationalize command and the Internationalization wizard.
To open the property editor and choose Tools Options
from the main window. Then expand the Editing node and select the Internationalization
node. Click the Expert tab and click the ellipsis (...) button in the Bundle
Code Format property.
You can use the Init Code Format combo box to enter the code format for resource bundle initialization. You can enter your own format or choose from one of the following presets:
java.util.ResourceBundle.getBundle("{bundleNameSlashes}")The default code format for resource bundle initialization.
org.openide.util.NbBundle.getBundle({sourceFileName}.class)The code format you should use to initialize resource bundles if you are developing a module for use with the IDE.
The Arguments field displays the various variables that you can use as arguments for your resource bundle initialization.