• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Now Text on canvas is missing

 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was having a problem with the Canvas drawing itself on top of a Form leaving the Form also visible. So I clear the screen in the Canvas with

then after that I use drawString to draw text on the Canvas, but since I added the two lines above, the text no longer appears. I tried changing the setColor to another color, just to make sure the text wasn't the same color, and therefore blending in with the backgroup. But that isn't the case.
Why isn't the text showing up. I also have a drawImage and the image is showing.
Know what I am going to post the paint method.

Thanks for the help
Mark
[ January 07, 2004: Message edited by: Mark Spritzler ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NEVERMIND. DOH!
look at setColor, and realize that the Text will be in that color.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic