Hi Vincent,

"V. de Weger" <[EMAIL PROTECTED]> wrote on 10/07/2006 04:26:07 AM:

> I will try the two-canvas-on-top-of-eachother option. 

   I would suggest trying the addition of the labels to
the one canvas first.  This is by far the simplest, and
most of the code should be shared between the two of them. 

> How do I 'link' the interactors of both canvasses 
> together so that zooming on the top results in zomming 
> of the lower etc?

   Subclass the canvas and override the 'setRenderingTransform'
and setPaintingTransform methods on the top canvas to call
the same methods with the same values on the lower canvas.
Also don't forget to mark the top canvas as Transparent for
swing and give it a transparent background color.


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

Reply via email to