Francois,

At 14:58 07.08.00 -0500, you wrote:

>My question is: Is it possible to send the keyEvent trap by my behavior
>class to the JMenuBar (or all the swing component).

I have no idea if this will work, but while you're waiting for a better answer,
you could try passing your KeyEvents on to JComponent.processKeyEvent
or processComponentKeyEvent for those components you'd like to see them.

These methods look like they're meant to be overridden so you can make them
do something else, but if override some components in your application such
that you make them public or provide a public method to call the protected
method, it just might do the trick.

Hope this helps,

-Carl-

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