Daniel Blau Kahn wrote:
>
> I am thinking about writing my own keyboard navigation since I want a little
> more control than the KeyNavigatorBehavior class allows. I know that some of
> you have written your own keyboard navigation, and I was wondering how you
> chose to do it. Did you write a class that subclasses off of Behavior or is
> there a better way? I've tried the above approach, but I can't seem to get
> the arrow keys to register. Any tips or sample code would be appreciated.
Take a look at
http://thenut.eti.pg.gda.pl/~abies/j3d/MythLookBehavior.java
I was using getKeyChar() because I was interested only in letters, but
if you want arrows, you should use getKeyCode() and compare to
KeyEvent.VK_LEFT etc.
Artur
===========================================================================
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".