Hi Gorzas,

Gorzsás Tamás <[EMAIL PROTECTED]> wrote on 01/12/2006 12:54:11 PM:

> in my code the getGraphicsNode returns with null:
> 
>     GraphicsNode importedGraphicsNode = canvas.getUpdateManager()
>                                           .getBridgeContext()
>                                           .getGraphicsNode(train);
>             
> In which cases returns the getGraphicsNode() with null?

  In cases where the given DOM Element doesn't have associated
graphics.  Also if the document is not marked as DYNAMIC then
it will not maintain this relationship.


> and the creation of this train element is done in the same 
UpdateManagerQueue 
> thread as in the getGraphicsNode() call.

   Everything sounds right, so I suspect there is something
subtle that is wrong.

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

Reply via email to