Hi!

You can process key-pressed events by using a Behavior that uses the
WakeupOnAWTEvent wakup-criterion.
For a sample implementation for how to catch keyboard events you can inspect
the source code of the KeyNavigatorBehavior class in the
"java3d-utils-src.jar" file.

Sincerely, yours

 Michael Lorenz.
 ([EMAIL PROTECTED])


b. white <[EMAIL PROTECTED]> wrote:

> I want to get keyboard input in an application but I don't want to do it
> in a text field.  I would like to have my program respond to a key press
> depending on what key has been hit.  Does anyone know what classes or
> listener I would need to do this.
>
> Thanks
> [EMAIL PROTECTED]
>

Reply via email to