You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by th...@kodak.com on 2007/10/04 14:03:46 UTC
Re: Cannot move a box and arrow at the same time.
Hi Qian,
As I mentioned earlier you need to make changes in the UpdateManager's
RunnableQueue.
Your code is modifying the document in Swing Thread.
"Qian Li" <qi...@googlemail.com> wrote on 09/26/2007 06:22:19 AM:
> Dear all,
>
> I'm always hitting the java.util.ConcurrentModificationException when
> I try to move a box and an arrow at the same time. Would anyone please
> give me some suggestions? Is it a known bug? Should I create a bug
> report?
>
> I have made a very simple test case, where if you drag the second box,
> the program will throws you the ConcurrentModificationException from
> org.apache.batik.gvt.UpdateTracker.getDirtyAreas()
>
> Source code in the attachement.
>
> Thanks a lot in advance.
>
> Kind regards,
> Qian
> [attachment "TestConcurrent.java" deleted by Thomas E.
> DeWeese/449433/EKC] [attachment "ElementHandler.java" deleted by
> Thomas E. DeWeese/449433/EKC]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org