@Transient
public int[] getSelectedIndices ()

Returns an array of all of the selected indices, in increasing order.

Returns:  all of the selected indices, in increasing order, or an empty array if nothing is selected

See also:
removeSelectionInterval, addListSelectionListener