|
Java™ by example!
|
|
|
How do I detect a double-click on an element in a JList?
For detecting double-clicking, add a MouseListener and catch the MouseEvents where clickCount is equal to 2. Here's an example:
Further Information
Author of answer: Joris Van den Bogaert
Comments
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|