Hi Thomas.

Thomas DeWeese:
> > Canvas listeners (like GVTTreeBuilderListener) are fired in the Swing
> > event dispatch thread, yes?
> 
>    Uhh, yes I think.  Something tickles the back of my memory that
> we didn't fire all of those listeners in the Swing thread (which
> is probably a bug).  It may be that they were fixed however.

OK.

> > And how about public methods on the BridgeContext: do they need to be
> > done in the UpdateManager?s RunnableQueue too?  For example, if I call
> > BridgeContext.getGraphicsNode(), will that need to be in the
> > RunnableQueue because the elementNodeMap will possibly be modified
> > because of document modifications in the UpdateManager thread?
> 
>    Correct, the Bridge context is effectively part of the DOM.
> Since you mention getGraphicsNode I'll extend that statement to
> also include the GVT tree... So all GVT methods should also be
> called in the UpdateManager's thread.

Gotcha.

>    Hope that helps.

It does, thanks!

-- 
Cameron McCormack ≝ http://mcc.id.au/

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

Reply via email to