S> Where should i look for a list of events that can be trapped?
In documentation. All Java3D events start with WakeupOn word. U should handle
the events in processStimulus method. See David's tutorial at
http://www.sdsc.edu/~nadeau/Courses/VR99/ for examples and more detailed
explanations.
vladimir
-=V=-
>-------<=============>-------<
Join in Java community now!
http://JavaCafe.VirtualAve.net/
>-------<=============>-------<
In your previous letter u wrote:
--------------------------------
S> Hello!
S> I'm a novice.
S> In writing a behaviour, how do i trap when the first or second or third
S> mouse button is pressed?
S> example
S> mouseEvents = new WakeupCriterion[3];
S> mouseEvents[0] = new WakeupOnAWTEvent(MouseEvent.MOUSE_DRAGGED);
S> mouseEvents[1] = new WakeupOnAWTEvent(MouseEvent.MOUSE_PRESSED);
S> mouseEvents[2] = new WakeupOnAWTEvent(MouseEvent.MOUSE_RELEASED);
S> mouseCriterion = new WakeupOr(mouseEvents);
S> wakeupOn (mouseCriterion);
S> Is it something like MouseEvent.MOUSE1
S> Where should i look for a list of events that can be trapped?
S> Thanks for all help!
S> Sean
S> ===========================================================================
S> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
S> of the message "signoff JAVA3D-INTEREST". For general help, send email to
S> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
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".