Re: invokeAndWait hang problem

2004-03-18 Thread Thomas DeWeese
Mike Favata wrote: Hello all, I am having trouble with the invokeAndWait method offered by UpdateManager. I am able to call invokeAndWait successfully in this block of code: Hi Mike, I suspect that you are calling invokeAndWait from the Swing event thread. This is prone to causing deadlock

RE: Transcoder problem

2004-03-18 Thread Brecht Yperman
> > However I think you would be _much_ better off passing > the DOM that the svgGenerator builds directly to the Transcoder > (TranscoderInput will take a document). To get the > document you want to do something like: > > > // The following populates the document root with the > // generate

invokeAndWait hang problem

2004-03-18 Thread Mike Favata
Hello all, I am having trouble with the invokeAndWait method offered by UpdateManager. I am able to call invokeAndWait successfully in this block of code: BluelineLoader o_loader = new BluelineLoader( io_document, _o_blueline_drawing ); try { io_svg_canvas.getUpdateManager().getUpdateR

Re: SVG elemet info - script - applet

2004-03-18 Thread Thomas DeWeese
Hi Bartosz, Everything looked good to me so I'm hoping this is it (the error message makes me think it will be). Bartosz Celmer wrote: Public void test() ^ Lower case 't' function circle_click() { appletHost.Test();} ^ Upper case 'T'.

RE: SVG elemet info - script - applet

2004-03-18 Thread Bartosz Celmer
Hi Thomas I've made some progress today, but still have some problems with live connect. My code look like this no: public void gvtRenderingCompleted(GVTTreeRendererEvent e) { label.setText(""); BridgeContext ctx = jSVGCanvas1.getUpdateManager().getBri

batik throws java.lang.NoSuchMethodError: org.apache.batik.dom.AbstractAttr: method isReadonly()Z not found

2004-03-18 Thread Lutz Dornbusch
Greetings! I have the following problem: I am using batik V1.5 on a jdk 1.3.1_04 on solaris and on jdk 1.4.0_01 on Windows 2000 as developmentplatform I installed the batik on a FreeBSD 4.9 with diablo jdk 1.3.1 and sun-jdk-1.3.1_10 in Linux compatibility Mode and it throws on this machine an E

interpreter ready

2004-03-18 Thread Stephen Turner
I have an unusual setup. Basically I have batik applet that receives ecma scripts through a socket. When I receive the scripts I put them in a list and invokeLater with the AWT event queue to execute them. The problem is that I have a hard time determining when the document is definitely fully

AW: **SPAM** Re: Local DTD for SVGDocument

2004-03-18 Thread Steffen Otto
I generate a String like this... http://www.w3.org/1999/xlink"; height=" 297mm" xmlns="http://www.w3.org/2000/svg"; version="1.0"> ... // then I have method, which creates a SVGDocument from the upper String... public SVGDocument loadSVGDocume

Re: Transcoder problem

2004-03-18 Thread Thomas DeWeese
Brecht Yperman wrote: i'm having some problems trying to create JPEG/TIFF/PNG-images from an svggraphics2d element in memory. I used to write an svg file to the file system and then read it in again to transcode it, but that's a bit messy. Can anyone help me? Well the problem below is probabl

Re: Local DTD for SVGDocument

2004-03-18 Thread Thomas DeWeese
[EMAIL PROTECTED] wrote: When Batik generates the SVGDocument, it sets the DTD like this "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"; But I need to set the DTD local, because my Batik runs in a closed enviroment without any internet connection. I think I need to use a EntityResolver

Re: SVG elemet info - script - applet

2004-03-18 Thread Thomas DeWeese
Hi Bartosz, Bartosz Celmer wrote: > I tried to do what did you propose, but in first case, I don't > know what exactly you mean. Should I do something like this?: This is close but you can add your event listener on the Root SVG element and thus get notified of all click events for any element

Local DTD for SVGDocument

2004-03-18 Thread sotto
When Batik generates the SVGDocument, it sets the DTD like this "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"; But I need to set the DTD local, because my Batik runs in a closed enviroment without any internet connection. I think I need to use a EntityResolver, but I don“t know to hand