The most efficient thing would be to use the setEnable() method that exists
for each behavior.
Add all three behaviors to the scene and disable them.
Then when one of your buttons is depressed, you enable that behavior.
To be very thorough, since you will have three buttons, when one is
depress
> What I would like to do is setup a toolbar on my JFrame and have buttons
> for specifying what the mouse will do when interacting with my 3D scene.
> eg a button to pick, a button to rotate, zoom etc..
> So that the user clicks, say the zoom button, and when the click and drag
> on the 3D scene
Hi..
Forgve me if this is a simple question but I'm really struggling to even
work how I go about this..
What I would like to do is setup a toolbar on my JFrame and have buttons
for specifying what the mouse will do when interacting with my 3D scene.
eg a button to pick, a button to rotate, zoom