Re: Fading effect
Andrew Thompson ha scritto:
lando wrote:
How can be obtained the grate effects as in this applet >>>> ?
http://www.sureshotsoftware.com/webeffects/slideshow/index.html
It probably uses the AlphComposite class as shown
in this text based example..
<http://java.sun.com/products/java-media/2D/samples/FadeTextSplash.java>
(I have also used AC for fading images, but that
source is stand alone and uses the same technique)
I am sure there was also a good demo using images
in the Graphics2D demo.
HTH
Thanks ,
I downloaded and tested this code below
http://java.sun.com/developer/technicalArticles/Threads/applet/SlideShow.java
now I'd change its paint process >>>>
try {
while ( noStopRequested ) {
waitWhilePaused();
curFrame = ( curFrame + 1 ) % images.length;
repaint();
Thread.sleep(3000);
}
http://java.sun.com/products/java-media/2D/samples/FadeTextSplash.java
with that in your >>>
http://java.sun.com/products/java-media/2D/samples/FadeTextSplash.java
and I'm confused about all of these different method....
Can give me a little help ?
Thanks a lot in advance.