public void returnFromAnimation()
  {
    setLayout(new GridBagLayout());
    getContentPane().removeAll();
    setVisible(false);
    
    if(isSingle)
    {      
      if(fromAnimation.equals("ready"))
      {
        newHumanTurn(allPlayers.elementAt(currentPlayerIndex));  
      }
      else if(fromAnimation.equals("score"))
        tryNewTurn();
      else if(fromAnimation.equals("win") || fromAnimation.equals("lose"))
        showWinners();
      
    }
    else
    {
      if(fromAnimation.equals("ready"))
        newHumanTurn(allPlayers.elementAt(client.getServerIndex()));
      else if(fromAnimation.equals("score"))
        tryNewTurn();
      else if(fromAnimation.equals("win") || fromAnimation.equals("lose"))
        showWinners();
    } 
  }