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

Summary

The five examples of this chapter have shown us how flexible a List, and its subclass ComboBox, can be. The foundation of this flexibility lies in the mechanism for plugging in the custom look and feel code. Some of our examples have exploited this mechanism to enhance the appearance and functionality of lists and combo boxes. In this chapter, we have learnt:

  • Different ways of creating lists and combo boxes.
  • How to determine the basic behavior of lists and combo boxes. For example, a list can be either cyclic or non-cyclic.
  • How custom tailored objects can be used as list elements.
  • About the structure of renderers and how to use them.
  • How listeners can be used to track user actions on lists and combo boxes.

The examples have been designed to ...

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