- use the getSelectionModel() method on a new JTable
- cast the result to the DefaultListSelectionModel
- use the getListSelectionListeners()
hope it helps!
Question
I want to get all of the list selection listeners that are registered with the selection model in my JTable
, but I don't see a method to get them. Is there a way I can retrieve them?
La solution
hope it helps!