@Override
  public void actionPerformed(JTable table)
  {
    if (table != null)
    {
      final MediaElement[] selected = getSelected(table);
      boolean toSet = !selected[0].getSeen();

      for (MediaElement mediaElement : selected)
        mediaElement.setSeen(toSet);
    }
    else
      media.toggleSeen();
  }