Posted by kirillcool on August 11, 2009 at 10:20 PM PDT
Using project Trident to add animations to enable rich interactivity expected from modern SWT applications.
Over at Pushing Pixels i have ran the series on adding animations to enable rich interactivity expected from modern SWT applications. The code is part of the Granite project which aims to provide blueprints for animated SWT applications powered by the Trident animation library, and the series has covered the following:
Part 1 â€“ adding simple animation behavior to such scenarios as component appearance (fade in) 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.
Run the org.pushingpixels.granite.DemoApp class, passing your Amazon key as the only parameter to this class, adding the Amazon, Trident and Granite classes, as well as Eclipse jars 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 SWT applications, youâ€™re more than welcome to explore Trident and Granite and report any bugs and missing features in the project forums and mailing lists.