Hi, since some time I'm struggling with component resizes during the
rendering of a svg canvas. This is what happens:

-  I create a parent panel (JPanel) with a splitter (JSplitPane) on it
-  add e.g. another  panel on the left of the splitter 
- add a JSVGCanvas to a scrollpane (JSVGScrollPane) and add the scrollpane
to right of the splitter.
- make all components visible (by using setVisible() )
- start loading a svg file (setUri())

depending on the the users PC (seems some sort of race condition) I get a
gvtRenderingCancelled which is caused by the splitter being resized to its
divider location.

This all results in a cancelled rendering because GVTTreeRenderer.run() is
halted.

My question is: how to load the svg correctly when the size of the svgcanvas
is not fixed yet? 

Vincent
-- 
View this message in context: 
http://www.nabble.com/how-to-handle-resize-tf2129806.html#a5878258
Sent from the Batik - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to