Re: ListSelectionListener Responds to Mouse Button Up and Down
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 16 Jul 2007 20:26:38 GMT
On Mon, 16 Jul 2007 15:42:50 -0400, Hal Vaughan
<hal@xxxxxxxxxxxxxxxxxxxx> wrote, quoted or indirectly quoted someone
who said :
I can't find anything in the ListSelectionEvent that lets me check to see if
the event is from a mouse button down or up or a mouse click and I haven't
found a reference to this happening. I haven't had this problem before, so
I could see how it's related to allowing multiple intervals, but I'm still
not clear on what is going on.
try dumping
ListSelectionEvent.getValueIsAdjusting()
Returns whether or not this is one in a series of multiple
events, where changes are still being made.
see if that helps you figure out what is going on.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- References:
- ListSelectionListener Responds to Mouse Button Up and Down
- From: Hal Vaughan
- ListSelectionListener Responds to Mouse Button Up and Down
- Prev by Date: Re: ListSelectionListener Responds to Mouse Button Up and Down
- Next by Date: Re: ListSelectionListener Responds to Mouse Button Up and Down
- Previous by thread: Re: ListSelectionListener Responds to Mouse Button Up and Down
- Index(es):