@Override
  public void mouseClicked(MouseEvent e)
  {
    if (e.getButton() == MouseEvent.BUTTON3)
    {
      int row = table.rowAtPoint(e.getPoint());
      if (table.getSelectedRowCount() == 0)
        table.setRowSelectionInterval(row, row);
      MediaContextMenu menu = new MediaContextMenu(getSelected(), table);
      menu.show(e.getComponent(), e.getX(), e.getY());
    }
  }