@Override
	public void paintComponent(Graphics g){
		Paint paint;
		Graphics2D g2d;
		if (g instanceof Graphics2D) {
			g2d = (Graphics2D) g;
		}
		else {
			System.out.println("Error");
			return;
		}
		RenderingHints qualityHints=new RenderingHints(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
		qualityHints.put(RenderingHints.KEY_RENDERING,RenderingHints.VALUE_RENDER_QUALITY);
		g2d.setRenderingHints(qualityHints);
		
		if(this.supprimee){
			paint = new GradientPaint(0,0, this.couleur==Couleur.NOIR?Color.RED:Color.WHITE, getWidth(), getHeight(), this.couleur==Couleur.NOIR?Color.DARK_GRAY:Color.RED);
			g2d.setPaint(paint);
			g.fillOval(5, 5, getWidth()-10, getHeight()-10);
		}
		else{
			paint = new GradientPaint(0,0, getBackground(), getWidth(), getHeight(), getForeground());
			g2d.setPaint(paint);
			g.fillOval(5, 5, getWidth()-10, getHeight()-10);
		}
	}