This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.