public void mouseDragged(MouseEvent e) {
        if(this.laf.bh.ccol.getState()==false)
        {
        Graphics g;
        Color c=Color.BLACK;
        g=this.getGraphics();
        g.clearRect(0,0,this.getWidth(),this.getHeight());
        this.paint(g);

        xf=e.getX();
        yf=e.getY();

        switch(this.laf.bh.couleur.getSelectedIndex())
        {
            case 0: c=Color.BLUE;break;
            case 1: c=Color.ORANGE;break;
            case 2: c=Color.RED;break;
        }

        g=this.getGraphics();
        g.setColor(c);

        switch(this.laf.bh.forme.getSelectedIndex())
        {
            case 0: {
                Droite d=new Droite(xi,yi,xf,yf,c);
                d.seDessiner(g);
                break;}
            case 1: {
                Cercle c1=new Cercle(xi,yi,xf,yf,c);
                c1.seDessiner(g);
                break;}
            case 2:{
                Rectangle r=new Rectangle(xi,yi,xf,yf,c);
                r.seDessiner(g);
                break;}
        }
        }
}