moving objects around screen

i am wondering if anyone would be able to tell me how to get a simple triangle moving around an applet screen using the direction keys?

using GL4Java