Movement
Get this applet running.
Place these lines in the keyPressed method:
x-=5; if(x<-2000) x=390;