Glen Simmons wrote:
On Tue, 01 Mar 2005 07:09:16 -0500, Thomas DeWeese
<[EMAIL PROTECTED]> wrote:
I would look carefully at the stack trace that is creating
menus to try and figure out who is trying to create them.
Here's the stack trace when calling JSVGComponent.loadSVGDocument:
JavaBug> bt
On Tue, 01 Mar 2005 07:09:16 -0500, Thomas DeWeese
<[EMAIL PROTECTED]> wrote:
> Glen Simmons wrote:
> > OK, I guess I spoke too soon. I tried the code below in a Cocoa-Java
> > app and it hangs. I checked with the debugger and it's hanging down in
> > some Swing code that's trying to instantiate me
Glen Simmons wrote:
OK, I guess I spoke too soon. I tried the code below in a Cocoa-Java
app and it hangs. I checked with the debugger and it's hanging down in
some Swing code that's trying to instantiate menus. This is a problem
because there are already menus.
The JSVGComponent does _not_ crea
OK, I guess I spoke too soon. I tried the code below in a Cocoa-Java
app and it hangs. I checked with the debugger and it's hanging down in
some Swing code that's trying to instantiate menus. This is a problem
because there are already menus. So I tried to implement the basics of
what JSVGComponent
Wow, thanks. This is exactly what I need.
Glen
On Fri, 25 Feb 2005 14:47:45 -0500, Andres Toussaint
<[EMAIL PROTECTED]> wrote:
> The best option is to render the image in a JSVGComponent, and once it
> is available, encode it as a PNG.
>
> The basic idea is to intercept the gvtRenderingComplete
The best option is to render the image in a JSVGComponent, and once it is available, encode it as a PNG.
The basic idea is to intercept the gvtRenderingCompleted event to recover the BufferedImage, and then encode this image to something your Cocoa App can handle, like a PNG.
If your source is fr