private void clickPixel(int x, int y) {
		int pixel_x = x / this.pixelSize;
		int pixel_y = y / this.pixelSize;
		// int tmp_s = 0;

		while (pixel_x < 1)
			pixel_x++;
		while (pixel_x >= this.tabSizeX - 1)
			pixel_x--;
		while (pixel_y < 1)
			pixel_y++;
		while (pixel_y >= this.tabSizeY - 1)
			pixel_y--;

		if (pixel_x >= this.tabSizeX || pixel_y >= this.tabSizeY)
			return;

		if (this.P[pixel_x][pixel_y].act == 0) {
			this.P[pixel_x][pixel_y] = new P();
			this.P[pixel_x][pixel_y].set_random(1);
		}

		this.reverse();
	}