display opengl coordinates in a window

Hi

I have an opengl application with a few objects in a scene which you can move with the mouse. I would like to display the x, y z , tilt and rotate coordinates in a window so when the objects are moved you can see at what position they are numerically. I have a controlbar like dev studio in my application -it just that I’m stuck on this data out put part.

Any ideas?

cheers