xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From till varoquaux <till.varoqu...@laposte.net>
Subject Re: accessing UpdateManager before the canvas is displayed
Date Thu, 09 Dec 2004 20:28:49 GMT
George Armhold wrote:

> My current understanding of the batik threading model is that one can
> expect the UpdateManager to be available once gvtRenderingCompleted
> has been fired.  This has always worked great for me.  But now I am
> trying to "prepare" my canvases in advance by constructing them and
> calling setSVGDocument before they are made visible on the screen. I
> notice that gvtRenderingCompleted is never fired until the canvas is
> made visible in some displayed component.  Is there some workaround
> for this?  Would waiting for gvtBuildCompleted suffice, to access the
> UpdateManager?
>
> For what it's worth, what I am trying to do here is write a
> synchronous version of setSVGDocument- the caller should block until
> the doc is fully loaded and ready.  (Yes I am taking care not to block 
> the Swing EDT.)
>
> Thanks for your time.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
>
>
I don't have much time for answering but shortely:
I had the same problems and this
http://mail-archives.apache.org/eyebrowse/ReadMsg?listName=batik-users@xml.apache.org&msgNo=4182
was my solution.
Hope it helps....

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message