File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Fade text in and out??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Fade text in and out???" Watch "Fade text in and out???" New topic

Fade text in and out???

Daniel Lugn

Joined: Aug 06, 2001
Posts: 6
Is there a way to fade in a textstring from transparent to a color and then back again??
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Here's a quick and dirty applet I made that does this by messing with the alpha portion of the color...

Use something like the following ( with spaces removed ) to launch it...


Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: Fade text in and out???
It's not a secret anymore!