Using Dynamic Statistics in a HUD

Hey guys,



I have been reading the tutorials and I must say I'm impressed with the wealth of information! However, the question I have is more of a question of the procedure I'm using as opposed to the actual code.



I want to have a basic 3D world and then a HUD (heads-up display) which displays statistics on it. These statistics will be changing over the life of the game, so they need to be dynamic. There will be all sorts of calculations I'll be performing to generate these stats, and then I want to write them to the HUD.



I was recently reading the tutorial on StandardGame and it spoke of how it separates the game loop from your code.

The question I have is, what is the best method to use for the game to 'fetch' the latest stats from the stats generating thread? Should I have a Java2D image which is rewritten to by the stats generator, and then the game thread simply puts this image into a texture every iteration?