Project Help

For a project, I need to make a GUI that displays a 7x7 grid of buttons. Each of the buttons are set to the default button specifications except for one, which has a yellow background and is labeled P. This button is the button controlled by the user. The user is then suppose to be able to use the keyboard to move the user's button around the button grid. As of now, mine displays the buttons and keeps track of the player button's position in the button grid using an X and Y coordinate. When a key on the directional pad is hit, it displays which direction was hit and the new coordinates of the player. Now, here is my problem. Once I know the new player button's location, I don't know how to display the new button grid... Can anyone help me? Here's the code I have so far:

So write it then. If you create a program and have a problem with it, then by all means post your code and ask your question, but don't just demand code as this smells of laziness. This is not a code mill.