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 8. Creating a Custom Component

Sometimes we feel the need for a special application-oriented component that is not available in the LWUIT library. On such occasions, a custom component has to be created, and in this chapter, we are going to see how to do that.

At a very fundamental level, it would seem that the only thing one needs to do for building a made-to-order component is write a class that extends Component. However, this essential step is not enough by itself, except in trivial cases. For practical usage, explicit action is required to implement one or more of the characteristics that make the LWUIT components so flexible and versatile. Some of these characteristics are:

  • The ability to be styled
  • Support for responding to customer ...

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