if (!canSelectVisibleRow(row))
row = min;
if (!extend)
clearSelection();
getSelectionModel().setSelected(getVisibleItem(row), true);
<BUG>ensureRowVisible(row);
</BUG>
}
else
{

if (!canSelectVisibleRow(row))
row = min;
if (!extend)
clearSelection();
getSelectionModel().setSelected(getVisibleItem(row), true);
ensureRowVisible(row, true);
}
else
{
