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.
Left Arrow:x=x-1;
Right Arrow:x=x+1;
Up Arrow:y=y+1;
Down Arrow:y=y-1;
And the default is that x=0 and y=0 just a simple script is all that i am looking for.
Thanks.