Hi,

> >>In my application, I try to move a shape, while moving it I create 
> >>a ghost with swing that shows the deplacement, but i have a problem 
> >>(the drawing  scintillates, and disapears).what should i do? 
> > 

In our application Sketsa. We are using overlay when the moving the
shapes. Then on intended event (eg: mouseReleased) we update the
underlying svg code to avoid flicker. Because if on every mouseMove you
update the SVG, it will put heavy painting for the canvas.

In summary:
- create the overlay shape
- move this overlay instead of the underlying svg
- on intended location/event update the svg

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to