Hi Tonny, "Tonny Kohar" <[EMAIL PROTECTED]> wrote on 11/14/2007 01:54:50 AM:
> Is there a difference between the BridgeContext (as in the Wiki) and > the BridgeContext bctx = canvas.getUpdateManager().getBridgeContext(); Yes, they are different instances. > Or it is the same bridgeContext, do some code in batik change the > bridgeContext during the document loading ? so the bridgeContext (as > in Wiki) is no longer valid bridgeContext after the document finished > loading ? When the canvas loads a document it creates it's own BridgeContext. Each document instance can only have one BridgeContext associated with it. So if a BridgeContext was created, like shown in the wiki, before giving the Document Object to the canvas then the original 'wiki' BridgeContext would be invalid after the load completes (some stuff would be right but lots would be wrong).
