Hi I’ve been trying to fade from one image to another using trident java animation library, but haven’t quite grasped how you choose to interpolate a image. Any solutions?
Thanks anyway
Hi I’ve been trying to fade from one image to another using trident java
Share
I never used Trident for fading, but I’d suggest to read
1) basic Java 2D Graphics tutorial, and there is accesible to set transparency for JComponents that contains Icon or ImageGraphics
2) How to Create Translucent and Shaped Windows
3) for both ways you have to implements javax.swing.Timer
simple example for
GraphicsandTimer