sel.addElement(new Range(index0, index1)); }
int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.set(lo, hi+1); fireSelectionValueChanged(lo, hi, valueIsAdjusting); }
    public void setSelectionInterval(int index0, int index1)     {	if (mode == SINGLE_SELECTION)	    {		sel.removeAllElements();	    }	sel.addElement(new Range(index0, index1));    }