title: Possibly remove ListSelectionListener before clearing Jtable (runtime)?
body: <p>I have written a ListSelectionEvent for my jTable.</p>
  
  <p>It works to take values from specific cells and put the value into the cells corresponding jTextField.</p>
  
  <p>So, I upload a CSV file to the jTable. It loads.</p>
  
  <p>I click the button at the bottom labeled "Clear Table". The table is cleared and a new blank row is made (I couldn't get around doing this. Otherwise it wouldn't let me load another CSV file)</p>
  
  <p>My problem :: I load another CSV File. It loads. I select a row, the listSelectionEvent fires, and executes as it should. I click "Clear Table" and it throws this Exception.</p>
  
  <p>Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1</p>
  
  <p>After this the program starts bugging out and needs to be closed. The jTable does clear when the window is resized.</p>
  
  <p>Thanks in advance for help with this.</p>
  
  <p>JB</p>