Animation blueprints for Swing – the conclusion
May 25th, 2009 | 4 Comments »Concluding the series on adding animations to enable rich interactivity expected from modern Swing applications, here is what we have seen so far:
- Part 1 – adding simple animation behavior to such scenarios as component appearance (fade in), rollovers and window disposal (fade-out) using built in and custom class attributes and setters.
- Part 2 – adding animated load progress indication while the application is loading data.
- Part 3 – loading the album art matching the specific search string and asynchronously displaying the associated images.
- Part 4 – scrolling the album covers showed in the container and adding animations to the scrolling.
- Part 5 – complex transition scenarios.
How can you run this code locally?
- Get the latest SVN snapshots of Trident and Onyx
- The Onyx distribution contains the lib/amazon.jar. It has been created with the following steps:
wsimport -d ./build -s ./src -p com.ECS.client.jax http://ecs.amazonaws.com/AWSECommerceService/AWSECommerceService.wsdl .jar cvf ../amazon.jar .
- Get an Amazon E-commerce key
- Run the org.pushingpixels.onyx.DemoApp class, passing your Amazon key as the only parameter to this class, adding the Amazon, Trident and Onyx classes to the classpath
If all went right, you should see the main application running and displaying Sarah McLachlan albums as in this video:
I hope you enjoyed this series. If you’re interested in adding rich animations to your Swing applications, you’re more than welcome to explore Trident and Onyx and report any bugs and missing features in the project forums and mailing lists.
Related posts:
- Animation blueprints for SWT – the conclusion Concluding the series on adding animations to enable rich interactivity expected from modern SWT applications,...
- Introducing Project Onyx – Animation Blueprints for Swing Project Onyx aims to provide blueprints for adding animation to Swing applications using the Trident...
- Animation blueprints for Swing – scrolling layout After adding such animation effects as fading, translucency, load progress and asynchronous load of images...
- Animation blueprints for Swing – asynchronous image loading After adding such animation effects as fading, translucency and load progress to the application window...
Hi Kiril
Thank you for the great work you’re doing. You are one of the last cornerstones in the Swing-world. It’s a pleasure to see your Swing-examples. And you are inspiring and motivating the Swing-guys out there to programm a little bit more in their freetime.
Thanks a lot for all your posts
André
Yesterday I stumbled on something like an IDE for jQuery animations (http://visitmix.com/Lab/Glimmer)
I think having some IDE to add animations to Swing, based on Onyx, would:
1. convince people/developers even more that Swing can be turned cool without much effort
2. result in animations being applied by both advanced and novice developers
3. …and cool Swing-apps would pop up all over the place (and in all kinds of blogs ;-) )
Anyway, just an idea.
Cheers, pete
Pete – the Trident core engine still needs a few designer-specific features, but even with those in place i will have to defer the actual designer to interested members of the community.
Thanks
Kirill
Hi krill . .
I v been following your blog and you are a source if inspiration to me in swing. You create apps/projects that gives me the believe I can one day be like or be better than you. Keep up the good work bro…