@Override
	protected void paintComponent(Graphics g) {
		
		Graphics2D g2 = (Graphics2D) g.create(); 
		g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); 
 
		int h = getHeight(); 
		int w = getWidth(); 
		
		Paint p;
		
		// Fond
		p = (couleur==CouleurCase.BLANC)?new Color(0xEEEEEE):new Color(0x111111);
		g2.setPaint(p); 
		g2.fillRect(0, 0, w, h); 
		
		ImageIcon icon = new ImageIcon();
		 
		if(deplacement == null){
			icon = (couleur==CouleurCase.BLANC)?impossibleBlanc:impossibleNoir;	
		}
		else{
			if(deplacement.isCaseRentree()){
				icon = (couleur==CouleurCase.BLANC)?rentreeBlanc:rentreeNoir;
			}
			else if(deplacement.isSiCaseBattue()){
				icon = (couleur==CouleurCase.BLANC)?priseBlanc:priseNoir;
			}
		}

		g2.drawImage(icon.getImage(),0,60,this);
		
		g2.dispose();
		
	}