KeyListener Graphics Problem

Hi there,
I'm pretty new to Java but interested in eventually making games of some kind. Right now I'm struggling with the KeyListener. I'm trying to set up basic WASD-like movement, but the graphics don't seem to respond. KeyPressed is supposed to change the x-coord of a component, but no visual movement happens. However, the System.out.println returns changing coordinates, which means that the Listener itself is working, right? Any help would be appreciated, thanks.