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?

effects like:-

  1. List item
  2. Left to rightte moving.
  3. Top to Bottom.
  4. Fade in and Fade out effect.
  5. Zooming Effect.


Not with card layout.

You could take a look at the SlidingLayout, which is based on The Universal Tween Engine

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.

Need Your Help

warning: initialization from incompatible pointer type

c pointers warnings function-pointers

I'm completely stuck at this point. I have the following code:

KNN Text Categorization in Matlab

matlab machine-learning classification knn text-classification

I am doing my project Text categorization using Clustering and KNN algorithm. But my classification is not working properly. I just used the ASCII value of each letter for the classification. In my