> i am using Batik to display maps. Additional objects are drawn using
> overlays. But since I implemented the drawing of objects using overlays
> i always get the following exception:
>
> Exception in thread "AWT-EventQueue-0"
> java.util.ConcurrentModificationException
>
> I think this happens because the overlays are repainted because of
> transformations (zoom,pan) and at the same time new overlays are added
> using: "getOverlays().add(overlayObject)".
>
> Has anyone similar problems or a suggestion how to solve this problem?

I recall there were already related issues discussed within the
mailing list. Are you running the overlay code within runnable threads
[1] [2]?

Hope this helps,

 Helder Magalhães

[1] 
http://www.nabble.com/ConcurrentModificationException-in-org.apache.batik.gvt.UpdateTracker.getDirtyAreas-td3569766.html#a3569809
[2] 
http://www.nabble.com/JSVGCanvas-does-not-update-with-modified-DOM-using-Update-Manager-td13392664.html#a13392664

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

Reply via email to