List (AWT)

Use a List bean List to provide a list of choices from which the user can make one or more selections. Your program can add or remove choices from the list.

By default, the user can select one choice from the list. When the user selects a choice, any previously selected choice is no longer selected. You can change the behavior of the list to allow multiple selection.


Related procedures
Adding a list or slider component

Related references
Sun's List bean documentation
List and slider beans
Beans for visual composition