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 Basic architecture

The creators of LWUIT have said that this library has been inspired by Swing. Naturally, the architecture of LWUIT has adopted a number of features from Swing, modified to fit the constraints imposed by the small device environment in which it is meant to operate.

Like Swing, LWUIT renders all the visual entities itself, and does not derive them from native equivalents. This ensures device independence and visual uniformity. Two other features that are of interest to us are the modified Model-View-Controller (MVC) model and the Event Dispatch Thread (EDT).

The modified MVC model separates the logic (and data) that specifies the behavior of a component from the part that takes care of its appearance and user interface. For ...

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