DmitryKey / luke

This is mavenised Luke: Lucene Toolbox Project
Apache License 2.0
1.54k stars 352 forks source link

Convert the row index selected to the internal model's one. #155

Closed mocobeta closed 5 years ago

mocobeta commented 5 years ago

Fix for #153.

According to the TableRowSorter documentation, the selected index need to be converted to the internal model's index. https://docs.oracle.com/javase/8/docs/api/javax/swing/table/TableRowSorter.html