Forums Register Login

how to draw on label ??

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Hi Stacy,
Check out the following code.

Enjoy,
Manfred.
+Pie Number of slices to send: Send

To draw On Label get Its Graphics Context using lablename.getGraphics() method and then trying draw On it. this would work for you.
What's brown and sticky? ... a stick. Or a tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2247 times.
Similar Threads
Synchorinzing text in JTextField and JList
Animating independent objects?
what action listener interface is doing in this code ?
Websphere.
Clock
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:57:03.