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:
- Make sure you are in the GUI Editing workspace.
- In the Component Inspector, locate the GUI component's property
that you want to internationalize (for example, the text property of
jLabel).
- Click on the property's value, then click the ellipsis (...)
button to open the Property Editor.
- Select Resource Bundle from the Select Mode combo box.
- 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.
- Click Format (below the Replace String text field) and select the
bundle format type you prefer from the combo box.
- Type the name of a key and a value for the identifier in the
appropriate text fields.
- Click OK to enter the internationalized string into the code.
Legal Notices