TranscoderException

2003-10-10 Thread rajesh
Hi, When i try to convert or try to view my svg file using batik-1.5 i am getting this error. can u please give me a solution for this. org.apache.batik.transcoder.TranscoderException: null Enclosed Exception: The current document is unable to create an element of the requested type (names pace:

Re: When to register EventListeners?

2003-10-10 Thread Thomas DeWeese
Reinhard Brandstädter wrote: Hi! I'm just playing around with Java Scripting and Event Handling but I think I'm missing a basic understanding of when to register event Listeners. When I create a whole dom tree document is it possible to register listeners when I create and add elements to the

Re: Adding raster images

2003-10-10 Thread Tonny Kohar
hi, you could do something like this: - since JSVGCanvas is a JComponent, you can add mouse listener - on the mouse click event SVDocument doc = canvas.getSVGDocument(); // create the image SVGImageElement imgElt = (SVGImageElement)doc.createElement("img"); // set the image attribute imgElt.setAtt

When to register EventListeners?

2003-10-10 Thread Reinhard Brandstädter
Hi! I'm just playing around with Java Scripting and Event Handling but I think I'm missing a basic understanding of when to register event Listeners. When I create a whole dom tree document is it possible to register listeners when I create and add elements to the tree so that the listeners ca

Re: Size to Fit

2003-10-10 Thread Thomas DeWeese
Potts, David wrote: I have an application with batik in an SVG canvas inside a scroll pane, I have it set up so that it's possible to zoom in and out. I also overlay on top several JComponents that zoom in sequence with the Batik image. When you zoom in on a Batik image, if there is enoug

Re: problem with event

2003-10-10 Thread Thomas DeWeese
Rolf Jordi wrote: Hi, i have to do a editor for svg file. i use the JSVGCanvas to display my svg file and i have add EventListener to all the Elements i want to edit but the even cannt be fired on some element because they are very thin(the element are paths) . It works on some element than are l

Re: Animation support in Squiggle?

2003-10-10 Thread Stefán Freyr Stefánsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Please look at: http://xml.apache.org/batik/#BatikStatus On Tuesday 07 October 2003 22:24, Reinhard Brandstädter wrote: > I'm not sure but does Squiggle support animation? > I'm interested in adding SVG animation to some of my graphics and tried > wit

Re: JSVGComponent dynamic DOM update, invokeAndWait threading issue

2003-10-10 Thread George Armhold
Thomas DeWeese wrote: > I will probably fix this problem with BridgeContext disposal shortly > (over the weekend) so you could just wait for that (I think > UpdateManagerStopped should signal that the Canvas is done with the > document). That works for me. Thanks again, Thomas! -

Size to Fit

2003-10-10 Thread Potts, David
  I have an application with batik in an SVG canvas inside a scroll pane, I have it set up so that it's possible to zoom in and out.   I also overlay on top several JComponents that zoom in sequence with the Batik image.     When you zoom in on a Batik image, if there is enough space

problem with event

2003-10-10 Thread Rolf Jordi
Hi, i have to do a editor for svg file. i use the JSVGCanvas to display my svg file and i have add EventListener to all the Elements i want to edit but the even cannt be fired on some element because they are very thin(the element are paths) . It works on some element than are larger. I am lookin

Re: JSVGComponent dynamic DOM update, invokeAndWait threading issue

2003-10-10 Thread Thomas DeWeese
George Armhold wrote: Thomas DeWeese wrote: > Hmm, there is a problem with this. The BridgeContext isn't disposed > of until after all the managerStopped Listeners have been called. I > don't think this is correct behavior, but until it's fixed you will > actually have to hang your listener

Re: JSVGComponent dynamic DOM update, invokeAndWait threading issue

2003-10-10 Thread George Armhold
Thomas DeWeese wrote: > Hmm, there is a problem with this. The BridgeContext isn't disposed > of until after all the managerStopped Listeners have been called. I > don't think this is correct behavior, but until it's fixed you will > actually have to hang your listener off the document load or g