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

The SampleResource demo

We shall now see how the resource elements contained in a resource file can be accessed and used. The file that will be used in this demo is the SampleResource.res, which is shown through the LWUIT Designer in the following screenshot:

The SampleResource demo

The file contains an Image, an Animation, a (bitmap) Font, and a Localization bundle. In the next screenshot, we can see how these resource elements are incorporated into the form. The line of text at the bottom looks truncated as it is tickering.

The SampleResource demo

The resource file is opened, and the individual ...

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