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 5. List and ComboBox

There are some components that are not only used by themselves, but also form elements of foundation for other components. Label is one such component and List is another. In Chapter 3, we saw that the tabs of a tabbed pane form a list, and in this chapter, we shall see that the ComboBox class is built around an underlying list.

We shall build several examples with lists and combo boxes in this chapter. In the process, we shall learn different ways of creating these widgets. We shall also learn how to make them look and behave in a variety of ways.

The list

At the most fundamental level, a list is just a collection of items. Usually this collection is shown as a linear display, and the items are text strings very often. ...

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