private void updateGrid() {
        //this.CreateGrid();
        for(int y = 0; y < this.gridLength; y++)
        {
            for(int x = 0; x < this.gridWidth; x++)
            {
                //this.grid[x][y] = new JPanel();
                this.grid[x][y].setBorder(blackline);
                //this.add(this.grid[x][y]);
                this.ConvertToGrid(x, y);
                this.ConvertToCell(x, y);
            }
        }
    }