private void ConvertToGrid(int x, int y) 
    {
        switch (this.tabToShow[x][y].getEtat()) 
        {
            case vide:        //vide -- blanc -- 255,255,255 -- 0
                this.grid[x][y].setBackground(new Color(255,255,255));
                this.grid[x][y].setPositionX(x);
                this.grid[x][y].setPositionY(y);
                break;
            case jeunePousse:  //jeune pousse -- vert clair -- 147,208,81 -- 1
                this.grid[x][y].setBackground(new Color(147,208,81));
                this.grid[x][y].setPositionX(x);
                this.grid[x][y].setPositionY(y);
                break;
            case arbuste:       //arbuste -- vert -- 52,153,51 -- 2
                this.grid[x][y].setBackground(new Color(52,153,51));
                this.grid[x][y].setPositionX(x);
                this.grid[x][y].setPositionY(y);
                break;
            case arbre:         //arbre -- vert foncée  -- 1,73,0 -- 3
                this.grid[x][y].setBackground(new Color(1,73,0));
                this.grid[x][y].setPositionX(x);
                this.grid[x][y].setPositionY(y);
                break;
            case feu:           //feu -- rouge -- 231,31,27 -- 4
                this.grid[x][y].setBackground(new Color(231,31,27));
                this.grid[x][y].setPositionX(x);
                this.grid[x][y].setPositionY(y);
                break;
            case cendre:        //cendre -- gris -- 129,130,129 -- 5
                this.grid[x][y].setBackground(new Color(129,130,129));
                this.grid[x][y].setPositionX(x);
                this.grid[x][y].setPositionY(y);
                break;
            case infecte:       //infecte -- violet -- 109,58,150 -- 6
                this.grid[x][y].setBackground(new Color(109,58,150));
                this.grid[x][y].setPositionX(x);
                this.grid[x][y].setPositionY(y);
                break;
            default:
                this.grid[x][y].setBackground(new Color(255, 255, 255));
                this.grid[x][y].setPositionX(x);
                this.grid[x][y].setPositionY(y);
                break;
        }
    }