Enable transitions when changing image in java

I am writing a small application that is designed to display a directory on the screen. The window is divided into three main blocks: On the left I have a list of articles, on the right there is a panel for rendering images, and under this last component I have some labels for information.

Now, when I select an article, I draw an image on the panel and fill in the information on the labels. When I have several images associated with the selected article, I start the swing timer and I change the Evey images for 5 seconds ...

How can I make changing a photo more beautiful by presenting some fantastic animations when changing images? Do you know any library that could help me? If you do this directly by code, an example and a little explanation will be great.

Thanks in advance Marco

+3
source share
2 answers

You can easily make basic animations with the basic Java2D features, but make an extra effort to add something really interesting.

( ) ImageTransitionPanel - Swing :

ImageTransitionPanel, . .

+3

getSubImage() BufferedImage, AlphaComposite, . . Java 2D API.

+2

All Articles