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 etc..
So that the user clicks, say the zoom button, and when the click and drag
on the 3D scene the scene zooms. If the click the rotate buton then when
they
click and drag on the 3D scene then it rotates.. you get the idea.

Writing the mouse behavours themselves is not a problem (ie transforms  to
zoom) but what I'm having great difficulty in is getting the interaction
between
by toolbar buttons and the mosue behavours. ie. allowing/passing the toolbar
button states to the the 3D mouse behaviours.

How on earth do I do this ?

Could someone please explain how I do this in easy steps/layman terms as
I'm fairly new to Java but understand the basic principles (3D stuff is not
a problem
as I know about object manipulations etc) its just how I go about the
linking of
toolbar button to mouse behaviour control.

Thanks in advance

Andy Knight
Software Engineer
Syngenta

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to