public Panel()
    {
        //tile = new Tile(250,200);
        setPreferredSize(fieldDim);
        setBackground(Color.WHITE);
        setFocusable(true);
        requestFocus();
        tiles = new Tile[64][64];
        Scheme.getInitData();
        
        //here we initialize every tile
        for (int i = 0; i < 64; i++)
        {
            for (int j = 0; j < 64; j++)
            {
                tiles[i][j] = new Tile(i*Tile.tileSize,j*Tile.tileSize);
                tiles[i][j].setType(Scheme.tiles[i][j]);
            }
        }
        
    }