@Override
  public void actionPerformed(JTable table)
  {
    final MediaElement[] selected = getSelected(table);
    if (table != null || selected.length > 1)
      new FilePlayer(selected).execute();
    else
      new FilePlayer(media).execute();
  }