• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to draw on label ??

 
Stacy Lee
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i draw a digital clock on my window frame...
but how to let this clock draw on a Label ???
please let me know..if u know the answer!!
thanks a lot
Stacy
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Stacy,
Check out the following code.

Enjoy,
Manfred.
 
Khurram Mahmood
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

To draw On Label get Its Graphics Context using lablename.getGraphics() method and then trying draw On it. this would work for you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!