good grief, you've obviously a noob, you'll need to study java a little longer than the amount of time you seem to think you can get away with.
If you want results and want them now, you should learn actionscript or javascript or LUA
short story long, i'm doing a minigame thing and i have no idea how to program controls. basically i need the up arrow to get the thing to move up, left left, right right, and all that. i'd like to know what the keys are called, if anything, and how i can get them to do what i want. i don't know how else to describe it. i just need directions (moving) and a select and decline/back button.