@Override
    public void mouseMoved(MouseEvent arg0) {
        int x = arg0.getX();
        int y = arg0.getY();
        if(x>XPAINT && x<XPAINT+WIDTH && y>YPAINT && y<YPAINT+HEIGHT){
            if((x-XPAINT)/32!=current_abscisse || (y-YPAINT)/32!=current_ordonnee){
                repaint(XPAINT+current_abscisse*32,YPAINT+current_ordonnee*32,32,32);
                current_abscisse = (x-XPAINT)/32;
                current_ordonnee = (y-YPAINT)/32;
                repaint(XPAINT+current_abscisse*32,YPAINT+current_ordonnee*32,32,32);
            }
        }
    }