Java Graphics2D DrawString....
Posted
by user69514
on Stack Overflow
See other posts from Stack Overflow
or by user69514
Published on 2010-04-12T01:06:15Z
Indexed on
2010/04/12
1:13 UTC
Read the original article
Hit count: 730
Hey guys I have a little issue here. I have a panel where I am drawing a string. This is a game so I keep redrawing the score in order to update it. However when I draw it again it is drawn on top of the previous score so it looked all garbled up. Any ideas how to fix this?
comp2d.drawString(GetScore(Score),ScoreX,ScoreY);
© Stack Overflow or respective owner