Setting Internationalization Strings With the Form Editor

If you have a GUI application, you can use the Form Editor to internationalize the text strings in the GUI form.

To insert an internationalized string with the Form Editor:

  1. Make sure you are in the GUI Editing workspace.
  2. In the Component Inspector, locate the GUI component's property that you want to internationalize (for example, the text property of jLabel).
  3. Click on the property's value, then click the ellipsis (...) button to open the Property Editor.
  4. Select Resource Bundle from the Select Mode combo box.
  5. Click Browse... and select the properties file in which you want to save the internationalized strings.

    Alternatively, you can click New... to create a new properties file in which to save the internationalized strings.

  6. Click Format (below the Replace String text field) and select the bundle format type you prefer from the combo box.
  7. Type the name of a key and a value for the identifier in the appropriate text fields.
  8. Click OK to enter the internationalized string into the code.

See also
Replacing the Code Format
Adding Arguments for Message Formats
Generating Internationalization Strings Automatically
Inserting Internationalized Strings Into Source Code

Legal Notices