edvin
08/27/2016, 2:11 PMdoSelect
which is automatically called when I perform a selection. This figures out what cells should be selected by checking what cell current has focus, and selects all cells from the focused cell until the last cell you click. The focusedCell property is set correct, but it is augmented by this call: int focusedIndex = getAnchor(cellContainer, fm.getFocusedIndex())
. Some times it just returns -1
instead of the correcty value for the currently focused cell.