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: