posted 5 years ago
I created a JTable that contains three elements, I select the first element of the list, after that a new row is added to the top of the JTable ( a background function that adds after 5 seconds new element), this is element is successfully added to the JTable but I got two selected elements (the old one that used to have index 0 and new element that have index 0). Is there any solution to this problem?