@Override
	public void paintComponent(Graphics g) {
		// super.paintComponent(g);

		for (int x = 0; x < this.tabSizeX; x++) {
			for (int y = 0; y < this.tabSizeY; y++) {

				if (this.P[x][y].RR>0 && this.P[x][y].GG>0 && this.P[x][y].BB>0) 
					g.setColor(new Color(this.P[x][y].RR, this.P[x][y].GG,
							this.P[x][y].BB));
				else
				g.setColor(new Color(this.P[x][y].R, this.P[x][y].G,
						this.P[x][y].B));

				g.fillRect(x * this.pixelSize, // position X
						y * this.pixelSize, // position Y
						this.pixelSize, // width
						this.pixelSize // height
				);
			}
		}
	}// g