Start up the program and click the words "click me". That will generate a ListSelectionEvent. Then, click the button "Take Out". That will generate another ListSelectionEvent, because the selected item is deleted. Then, click the "Append" button. That generates another ListSelectionEvent, but I don't know why. Before the button is clicked, and after the button is clicked, nothing is selected, so there should be no change in the selection which would generate an event.
Joined: Oct 12, 2005
In my original message I made a mistake. It's not JTable, it's JList.