# Moving a tiled map in a jframe

I rendered a tiled map, with the help of slick2d, in my JFrame in Java. I can move my main character, but it is just that the character itself moves. I would like to do it that, if the player moves, the map moves and the player himself stays in middle of the frame. Do you have any suggestions on how to do that ?

Don't use JFrame, instead use BasicGame subclass and AppGameContainer (it's much better than JFrame).
And to your problem, you have to create a Camera class. That's all already covered here.