Help user interface
Hi, I need help with a small simple program i am making for java all i need is to do a user interface with they use the arrows on the keyboard not the ones on the num pad on the right.
Here is a table of what happens when what arrows get pushed down.
And the default is that x=0 and y=0 just a simple script is all that i am looking for.
This is difficult to do from the command line. I assume you are planning on creating a JFrame or some such window to capture events? With swing you can capture keyboard events and map them to what keys were pressed. You can do it by adding a keyboard listener.