Using a .tmx with my game

Hey guys, I’m starting to need the use of some sort of tile or map editor to continue on my game (especially if I’m gonna be making bigger maps)
Anyways I decided to download tiled which saves files in a .tmx format and I have no clue on where to begin or how to load and use this tmx file in my game. Currently I am using LWJGL and have read that I can use this library that came with tiled located in tiled/util/java/libtiled-java .
I see that there source code files and all but I have dont have much experience working with libraries and dont know where to begin still…So anyone know of any tutorials or anything that could help me out with this?

EDIT
So I am now using slick and have everything setup with the Layre, TiledMap and TileSet classes…so do I just feed the tiled map class the location of my map and it goes from there? Or is there anything specific that I need to set up to get this working right?

LWJGL doesn’t come with support for loading tiled maps (.tmx), but Slick2D does.

I made an edit above about where I’m at right now, but just wanted to say that my main concern is how everything is going to be rendered, I’v read through the source code that handles the tmx files, but I cant figure out if they are rendering through openGL or what I would need to change to make it render with the OpenGL that I have working in my game already.

I’v been messing around with trying to get this render for a little bit and have gotten the map and tilesets to load.
I end up making a TiledMap object called Tmap where I use the constructor where I give it the directory where my tmx file is.

and in the render method that is already in my game I just call Tmap.render(0,0);
when I do this it just renders a very blown up portion of my player entity and when the animation for my player entity changes so does the backround, even if I comment out where I render my player entity.

After some more fooling around I made just a random map thats just grass with random dirt squiggles everywhere. and now I realize that the map is loading correctly but is not binding the correct textures to the tiles. Instead it is binding random textures that I have for my player character.
Heres a Screenshot.
Imgur
and as you can see it is using the same color scheme as my player entity(the black square with a blue D)

Anyone know anything about getting this straight?

Now I’m getting another step closer! I figured out if I dont load entities than my map draws correctly!
I tried fooling around with the load order of my entities and all, but that doesnt seem to fix anything. Once again, any Insight would be awesome (: (and sorry for spamming my post).

Edit* At this point I think I’m just having issues with drawing anything thats not a map onto the map because I’m not using the same OpenGL as the map (the openGL that is in slick2d) So basically what this has come down to is How do I load and draw using the openGL in slick2d?