Hi Vincent,

   See below,

"V. de Weger" <[EMAIL PROTECTED]> wrote on 08/18/2006 06:00:57 PM:

> 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.

    This shouldn't really be a problem because it should queue another
render request.  Is that not happening for some reason?

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

    It should just happen.


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

Reply via email to