O'Reilly logo

LWUIT 1.1 for Java ME Developers by Biswajit Sarkar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Resources Class, Resource File and LWUIT Designer

An LWUIT application usually requires one or more elements in addition to the code itself. Images are very often needed for use as icons. Animated GIFs may be used for animations, and fonts not supported by the given platform are often useful for rendering text. All such elements required for a particular application form its Resource bundle. This technique is very convenient for distributing an application, as resource bundles get integrated into JAR files.

One or more of the following types of resources that are supported by LWUIT can be included in a resource bundle:

  • Image Resources
  • Animation Resources
  • Bitmap Fonts
  • Localization (L10N) bundles
  • Themes

A sixth type named Data is also supported. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required