public boolean newRun()
    {
       Field f, f2;
       
       
       if(this.newVal > 0)
       {
           return false;
       }
       else{
       for(int i = this.fieldSize; i < this.finishindex; i++)
       {
           f = pole.get(i);
           if(f.playerColor == player && f.figure != null)
           {
               f2 = pole.get(f.figure.startFieldId);
               if(f2.figure != null && f2.figure.playerId == this.player)
               {
                   return false;
               }
               if(f2.figure == null || f2.figure.playerId != this.player)
               {
                   if(f2.figure != null)
                   {
                       Field f3;
                       f3 = pole.get(f2.figure.startFieldId);
                       f3.figure = f2.figure;
                       f3.figure.position = -1;
                       Icon icon = f3.figureLabel.getIcon();
                       f3.figureLabel.setIcon(f2.figureLabel.getIcon());
                       f2.figure = f.figure;
                       f2.figure.position = 0;
                       f2.figureLabel.setIcon(f.figureLabel.getIcon());
                       f.figure = null;
                       f.figureLabel.setIcon(icon);
                       this.pole.set(f.id,f);
                       this.pole.set(f2.id,f2);
                       this.pole.set(f3.id,f3);
                       return true;
                   }
                   else
                   {
                       f2.figure = f.figure;
                       f2.figure.position = 0;
                       Icon icon;
                       icon = f2.figureLabel.getIcon();
                       f2.figureLabel.setIcon(f.figureLabel.getIcon());
                       f.figure = null;
                       f.figureLabel.setIcon(icon);
                       this.pole.set(f.id,f);
                       this.pole.set(f2.id,f2);
                       return true;
                   }
               }
           }
       }
     }
       return false;
    }