You are right, it wasn't running on the UpdateManager's thread.
Now, My code is:
public void moveElement(final SVGGraphicElement e, final
Point2D.Double point) {
Runnable r = new Runnable() {
public void run() {
....
....
}
};
UpdateManager um = null;
while (um == null) {
um = this.svgCanvas.getUpdateManager();
}
um.getUpdateRunnableQueue().invokeLater(r);
}.
Because this method is called everytime the icon is draged , I
have to drag the icons slow, because if not, the drag doesn't
work,(It must be for the "while") how can i make it more
efficient.
And Thanks for helping me to solve this problem.
--
View this message in context:
http://www.nabble.com/Some-white-areas-appear--after-many-zoom-in%2C-zoom-out-and-pan-actions-tp19460378p19613479.html
Sent from the Batik - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]