The Resource Manager is a graphical tool for creating resource bundles and adding them to the build process.
Select a project that contains the LWUIT libraries.
Select Tools > LWUIT Resources.
The Resource Manager opens.
To add a bundle, right-click anywhere within the Resource Manager window and select Add Bundle from the context menu.
Enter a bundle name and click OK.
You are ready to add resources to the new bundle.
Select a resource, and select Windows > Properties to view and edit the resource.
Experiment with adding resources. Resources are fully described in the Lightweight UI Toolkit Developer’s Guide. Here is a brief summary of the resource types:
JPG and PNG files. The file name can be changed and you can choose to pack the file to save space.
Animations. GIF files. You just supply a name.
Font. There are two font types:
System (Create New).
Created from a system font. You can choose the system font in properties. Available fonts are: Dialog, DialogInput, Monospaced, Serif, and SansSerif.
From File (Create from File).
Choose the file from which the font resource will be created. You can edit the font’s name, boldness, the size of the font, and whether or not antialiasing is used.
Localization. Choose the main localization bundle, for example, foobar.properties. This main bundle is then added with a "default" ID. Other locales are added with their proper ID. For example, foobar_en_GB.properties is added with the ID en_GB. Unfortunately this resource must be recreated in the resource manager when more locales are added (or removed).
Theme. Adds the .conf theme file. See the Lightweight UI Toolkit Developer’s Guide.