Any way to make text blink without threads?
Is there any way to make text rendered by drawString (or somesuch) blink without mucking around with threads? Is there some font characteristic like Font.BOLD or Font.ITALIC called someotherFont.BLINK that I just haven't found in the API? I really dont want to screw with threads if I can avoid it.
> Is there any way to make text rendered by drawString
> (or somesuch) blink without mucking around with
> threads? Is there some font characteristic like
> Font.BOLD or Font.ITALIC called someotherFont.BLINK
> that I just haven't found in the API? I really dont
> want to screw with threads if I can avoid it.
Hi,
I am not sure if you can do such a thing using drawSting. How about using JLabels (or labels if you are still using awt). They support HTML tags and hence blinking will be just adding a tag to the label text.
Comments always welcome.
Thanks,.
Chandra Mohan
If the implementor of the HTML render in Java implemented the none-standard, and very evil blink tag, I will personally go and smack him/her over the head with a blink tag made out of Lego bricks.(i'm fairly sure they did not, so my lego mindstormers set is safe)
mlka at 2007-7-16 3:42:13 >
