public void setSelectionInterval(int index0, int index1) { if (mode == SINGLE_SELECTION) { sel.removeAllElements(); }
public void setSelectionInterval(int index0, int index1) { sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1;
    public void setSelectionInterval(int index0, int index1)     {	if (mode == SINGLE_SELECTION)	    {		sel.removeAllElements();	    }	sel.addElement(new Range(index0, index1));    }