Reputation: 360
I am making a basic java application and I was just wondering how I can add animations to my swing class. I wanted to know about animations like:
The animations just need to be basic. Things you could do in Powerpoint. Anyone know how this can be done?
Upvotes: 2
Views: 149
Reputation: 205795
While JavaFX has strong support for animations and transitions, a Swing Timer
or SwingWorker
can be used to achieve many similar effects. A number of examples are shown here and here.
Upvotes: 3
Reputation: 424
Swing doesn't have any good/sensible support for animations or transitions. You might want to have a look at JavaFX instead.
Upvotes: 0