Spawns no longer is that weird amalgamation of an ArrayList and a ListModel.
This change also makes the iteration over spawns thread-safe (as in, you can only iterate over a copy, preventing comodification).
I had to introduce some manual bounds checking because JList really doesn't want to be consistent with the ListModel behind it.
Spawns
no longer is that weird amalgamation of anArrayList
and aListModel
. This change also makes the iteration over spawns thread-safe (as in, you can only iterate over a copy, preventing comodification). I had to introduce some manual bounds checking because JList really doesn't want to be consistent with theListModel
behind it.