String (final @NotNull MouseEvent event) { ColumnInfo[] columnInfos = getColumnInfos(); if (columnInfos != null) { final int i = columnAtPoint(event.getPoint()); final int infoIndex = i >= 0 ? convertColumnIndexToModel(i) : -1; final String tooltipText = infoIndex >= 0 && infoIndex < columnInfos.length ? columnInfos[infoIndex].getTooltipText() : null; if (tooltipText != null) { return tooltipText; } } return super.getToolTipText(event); }