Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fade text in and out???

 
Daniel Lugn
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to fade in a textstring from transparent to a color and then back again??
Thanks!!
/Daniel
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...


HTH,
-Nate
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic