> > I have an application that I would like to implement using SVG and the Java > > Language Binding Scripting. I have an SVG document and a Java > > EventListenerInitializer that is working in Squiggle. So far, so good. Now > > I would like to sping off a thread that creates a socket connection and > > listens for data. When the data arrives I would like to update the SVG DOM. > > To do that I need to ask the Batik canvas for the update manager and ask > > that for the runnable queue then queue up a runnable to do the update. > > However, I don't have a reference to the canvas. Is there some way to get > > one from the document? > > Well the Window object we provide has a method 'getBridgeContext' and > the BridgeContext can provide you with the UpdateManager (if there is one).
I can't seem to find a way to get the Window from the SVGDocument in Java. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]