@Override
  public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
  {
    MediaElement media = (MediaElement) medias[table.convertRowIndexToModel(row)];
    isSelected = isSelected && (table.hasFocus() || Utils.isContextMenuDisplayed(media));
    final Component superResult = super.getTableCellRendererComponent(table, value,
                                                                      isSelected, hasFocus, row, column);
    if (isSelected)
      superResult.setBackground(Color.darkGray);
    else
      superResult.setBackground(new Color(39, 39, 39));

    if (media != null)
      if (media.getSeen())
        superResult.setForeground(Color.gray);
      else
        superResult.setForeground(Color.white);

    return superResult;
  }