Creating a .properties File

The New from Template wizard enables you to create a properties file (resource bundle), you can then add the specific properties you want through the properties pane of the Source Editor.

To create a .properties file:

  1. Select the package in the Explorer in which you want to create a .properties file (properties.
  2. Choose File New from the main window.
  3. Expand Other and click on properties.
  4. Enter the file name in the Name field.

    A properties file is created with a .properties suffix. A node for the properties file appears in the Filesystem hierarchy denoted by the icon.

  5. Click Finish in the dialog box.

If you do not select a package name, a properties file will be created under the current directory.

To remove a .properties file:

  1. Right-click on the properties file in the Explorer and choose Delete from the contextual menu.
  2. Click Yes in the verification dialog box to remove the file.

See also
Adding Properties
Removing Properties
Modifying a .properties File
Adding and Removing Locales
Setting Properties Files

Legal Notices