Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Sep 6, 2011 7:21 AM by
You can increase the awt event trigger keyboard ?
Sep 6, 2011 6:04 AM
I have created a virtual world with JAVA3D. The observer walks using the cursor keys.
The movement is very slow because awt has a very slow frequency of firing.
Can be increased in java the frequency of the firing of these events?
- Event of keyboard awt: java.awt.event.KeyEvent
- Event of mouse awt: java.awt.event.MouseEvent
It is possible? how it is possible to be done? Somebody can help?
This content has been marked as final.
Show 1 reply
Re: You can increase the awt event trigger keyboard ?
Sep 6, 2011 7:21 AM
in response to
The key repeat rate is set from the OS and Java can't do anything about it.
As the programmer, surely you can increase the movement per key event? and use the coordinates of the mouse event to determine the movement?