
Originally Posted by
ChryZzE
If this is supposed to be part of a HUD that's supposed to be on top of everything the solution is probably simple. Somewhere in you code you most probably have the following lines, and all you need to take care of is to make sure that they are performed in the correct order (bg here is a TiledLayer, but should work allmost the same with a LayerManager - haven't come to that chapter yet):
Graphics g = getGraphics();
bg.paint(g);
g.drawString(my_score, 0, 0, Graphics.LEFT | Graphics.TOP);