public void Initialize() 
	{
		deltaX = (float) gridWidth / sudokuSize;
		deltaY = (float) gridHeight / sudokuSize;
		CellVariable.deltaX = deltaX;
		CellVariable.deltaY = deltaY;
		CellVariable.domainXOffset = gridXOffset;
		CellVariable.domainYOffset = gridEndY + 10;

		activeX = 0;
		activeY = 0;
		mouseOverX = -1;
		mouseOverY = -1;
		mouseOverDomain = false;
		mouseOverGrid = false;

		cells = new CellVariable[sudokuSize][sudokuSize];
		for (int i = 0; i < sudokuSize; i++) {
			for (int j = 0; j < sudokuSize; j++) {
				cells[i][j] = new CellVariable(i, j);
			}
		}

		addMouseListener(mouseController);					//Afegim el Listener del Mouse
		addMouseMotionListener(mouseController);			//Afegim el Listener pel moviment del Mouse
		mouseController.init();
		cpController.InitCP();
	}