but when in a jtable using ListSelectionModel to be its selectionmodel, something is 
puzzling.
when singleselection model, 
i want to know which row is current selected row, but i 
find no way. 
how ???


        It returns true when the scroll bar is being used to view a large list. 
It returns false when an actual selection is made.  If you are wanting to
react to a selection being made, you would do:

if(!evt.getValueIsAdjusting){
        doSomething();
}

On Wed, 10 Oct 2001 15:21:22 +0800
º«ÇÈ <[EMAIL PROTECTED]> wrote:

> Class ListSelectionEvent
> has method
> getValudIsAdjusting(),
> 
> when does the method return true? and when does it return false?
> 
> Thanks
> 
> jordy
> 
> 
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

----------------------------------------------------------
                                                        ¿ªË¼Èí¼þ  º«ÇÈ
°Šx&j)bž       b²Ô°Šx¢Çd†Ûiÿ÷¨±Ù?™¨¥™©ÿ–+-ŠwèþÌ"ž


Reply via email to