I am using Card layout in java swing application and want to perform some nice effect on card change from one to another
In a java Swing application and if we are using Card layout for some panel than we use to show() method to show particular card.Show Method just make visible given card and disappear current card. Is it Possible to add some effects between this card swapping?
- List item
- Left to rightte moving.
- Top to Bottom.
- Fade in and Fade out effect.
- Zooming Effect.
Not with card layout.
Another approach is to design a layout manager capable of providing the required functionality. This is far more complex, but gives you an idea of what might be involved...
For example, Animations when using Gridbag Layout.