Please see the chapter on keyboard behaviors in my book. If you don't want to buy the book you can download the source code and work from there (KeyNavigateTest example).
 
Sincerely,
 
Daniel Selman

Author - "Java 3D Programming"
http://www.manning.com/selman

-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of �Ⱥ�ȣ
Sent: Monday, March 11, 2002 7:33 PM
To: [EMAIL PROTECTED]
Subject: extending WakeupOnAWTEvent class

hi. all
 
I make a small java3d program to use behavior class.
 
This program interact with key event,
 
for example press 'A' key and left object rotation, press 'B' key and right object translation....
 
I used WakeupOnAWTEvent class to interact key event, but WakeupOnAWTEvent class allow only KEY_PRESSED, KEY_TYPED, and KEY_RELEASED.
 
So I will extend WakeupOnAWTEvent class to allow many key event like VK_A, VK_B... .
 
What shall i do for this.
 
Plaese give me a advice and help.
 
thanks
 

Reply via email to