Hello

When I use a Behavior with AWTEvent Key in a graph,
when the mouse goes over the Panel3D, even if the JFrame isn't activated
(not in front)
the JFrame is autoactivated (push to front).

Why ?

How retrieve Key event without this auto activation ???

Sample code :

    WakeupCriterion [] wakeupEvents = new WakeupCriterion[1];

    wakeupEvents[0] = new
eupOnAWTEvent(

                                        AWTEvent.MOUSE_MOTION_EVENT_MASK |
                                        AWTEvent.MOUSE_EVENT_MASK

                                        // If this line set, then autoactivation !!!
                                             | AWTEvent.KEY_EVENT_MASK
                                        );
    mrWakeupCriterion = new WakeupOr(wakeupEvents);
    wakeupOn(mrWakeupCriterion);
    ...

===========================================================================
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