Reputation: 18198
How do I check if a user has anything selected inside a JList?
Upvotes: 2
Views: 8696
Reputation: 35171
It's not optimal, but...
Create a deep copy of the list before it gets changed. Then compare (using equals) the possibly changed list to the copy of the original.
Upvotes: 0