[JAVA3D-INTEREST] MouseBehavior and multiple Canvas

You are here:

I have several view branches in my universe to represent the same scene
in several canvas. Is it possible to have somewhere a MouseBehavior, for
example a MouseRotate, such that the "view" changes only in the canvas
receiving MouseEvents ?

B'jour.
From what i read, it seems you say that all your views change at the same time. MouseRotate and such can only change one TransformGroup, so unless you use the same view for every canvases it should already work.

If you need the behavior to change the view whose canvas you are acting on, you need to set the behavior's transformGroup on FocusGained event thrown from canvases.

Well I don't know. Maybe I was doing something wrong. I have found a
solution that "works" : to enable and desable behaviors when my Vue
object (which contains Canvas3D and other things) becomes active/passive
by a mouse click.

But I am going to have a look to your suggestion with FocusGained events.