Is it normal that any changes to the selected row of the JTable
will trigger the added ListSelectionListener
twice?
Is it possible that the ListSelectionListener
can be triggered only once?
Look at the event that is passed to your listener, specifically
ListSelectionEvent.getValueIsAdjusting()
perform whatever ops you want to do when this returns false.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With