New Localization Support Class Wizard:
Name and Location Page
See Also
You open the New Localization Support Class wizard by choosing File > New
File. Then select MIDP under Categories and Localization Support Class under
File Types.
In the Name and Location page,
you tell the wizard how to create the two key files necessary for localization:
- a Java class with the code that initializes localization
- a properties file where message keys and their localized values are stored.
In this page, you specify the following properties:
- Class Name. Specifies the name of the new Java class that
provides the code for localization.
- Messages Bundle Name. Specifies the name of the file that
is used to store message keys and their values for localization.
- Project. Shows the name of the project selected in the
previous step. this field is not editable.
- Package. Shows the location of the created Java class.
You can select an existing package from the Combo Box, or type in the name
of a new package. The new package is created along with the class file when
it is created. This field is not editable.
- Created Class File. Shows the full path and name of the
localization support class name. The name is based on the values entered in
the Localization Support Class Name and Package fields.
- Created Bundle File. Shows the location of the created
bundle file. The file name is based on the values entered in the Messages
Bundle Name and Package fields. The filename has the default extension
.properties
.
- Default String Value. Specifies the default text that displays
in the MIDlet when localization is not successfully initialized.
- Error Message. Specifies a default error message that displays
when the localization is not successfully initialized.
Click Finish to complete the wizard and create the files.
- See Also
- Adding Localization
Support to a MIDP Application
- About Java ME MIDP Localization
Legal Notices