Creates a new AbstractListComponent with the specified
models.
Parameters: model - the list data model Parameters: selectionModel - the selection model
Adds an ActionListener to the list component.
The ActionListener will be invoked when the user
selects an item.
Parameters: l - the ActionListener to add
Sets the renderer for items.
The renderer may not be null (use DEFAULT_LIST_CELL_RENDERER
for default behavior).
Parameters: newValue - the new renderer
setDisabledBackground
public void setDisabledBackground(Color newValue)(Code)
Sets the background color displayed when the component is disabled.
Parameters: newValue - the new Color
setDisabledBorder
public void setDisabledBorder(Border newValue)(Code)
Sets the border displayed when the component is disabled.
Parameters: newValue - the new border