Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how do a Label can be repainted

 
shaista zaidi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
somebody plz help.....i have to show contents of a text file in labels. and the file is to be refreshed after every 10 seconds. its workin fine with S.O.P but offcourse to repaint i should have graphics context.how can i do this.
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shaista,
I don't understand the problem. Which of these routes are you thinking of:

1. Draw the text to a canvas using drawString?
Or
2. Use a TextArea which would require a call to setText?
Or
3. Use many labels which would require a call to setText for each one?
Manfred.
 
shaista zaidi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the reply .its the third one. there are many labels and i have to use setText.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic