void (int rowIndex, boolean focus) { if (rowIndex >= 0 && rowIndex <= getRowCount() - 1) { scrollRectToVisible(getCellRect(rowIndex, 0, false)); setRowSelectionInterval(rowIndex, rowIndex); if (focus && !hasFocus()) { IdeFocusManager.getInstance(myLogData.getProject()).requestFocus(this, true); } } }