xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: Problem with multiple JInternalFrame's using batik
Date Sun, 20 Jul 2003 20:14:07 GMT
Fred Ingham wrote:
> To all,
> I am trying to use the JSVGCanvas in an application that uses a JDesktopPane
> containing several JInternalFrames (one of which contains a JSVGCanvas).
> The problem occurs when more than one JInternalFrame exists in the
> JDesktopPane.  The behavior is as follows:

     What version of Batik? With current CVS I tried your example and it
worked perfectly (well almost if you resized continously for long enough
I would get a stack overflow - but even that is gone now).  I certainly
didn't see anything that sounds like what you describe.

> If there is a single JInternalFrame (with a JSVGCanvas in it) in the
> JDesktopPane, all is well... the SVG graphic appears and can be panned,
> zoomed, etc.
> If there is more than one JInternalFrame in the JDesktopPane, the
> JInternalFrame with the SVGCanvas will display the SVG graphic initially but
> as soon as you click the mouse in its frame, the graphic disappears never to
> be seen again.
> I have attached some code that a previous mailing list user had included as
> an example for another problem... the same code can be used to demonstrate
> my problem... simply invoke File|New two or more times... you will see the
> SVG graphic in the first JInternalFrame but for all other JInternalFrames,
> you will not see a graphic... and if you click in the original
> JInternalFrame... the graphic will disappear.
> Any help would be greatly appreciated,

To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message