Griffon: Transitions plugin released - No Fluff Just Stuff

Griffon: Transitions plugin released

Posted by: Andres Almiray on August 25, 2009

I'm pretty sure I'm not the only one that dropped his jaw in awe at JavaOne 2006 when Romain Guy demonstrated Aerith during the opening keynote. Aerith represents the holy grail of Swing applications. It looks and behaves like a native OSX application, the catch being that it is a Java Swing application filled with many tricks that only the dream team (at that moment) formed by Romain, Richard, Jasper and Scott (I'm sorry if I left someone out) were able to muster a few days before the show began. It truly was a remarkable feat, the code was even released into the wild a year later, however there are few to none publicly available applications that follow Aerith's steps.

Now, I don't promise that the newly released Griffon Transition Plugin will turn your application into an Aerith clone, it just makes the job of creating animated transitions a snap, one of the first features that you find when running Aerith. This plugin would not have been possible if it weren't for Jeremy's work on Transition2D and Kirill's Trident Animation Library. It also follows the spirit of Animating CardLayout.

The following video demonstrates the plugin in action. There is a basic start screen (which relies on GfxBuilder to draw the background and Griffon's logo by the way). When the logo is clicked a fade-to-black transition is triggered and we see the first pane of a rather boring enterprise form mock up. Click the edit button and another animated transition (Swivel) shows an editable view of said form.



The following code was used to setup the View
This small example was also inspired by Eitan's work on JMatter using Animating CardLayout. A similar animated transition is triggered whenever you'd like to edit a domain object using the framework's default show/edit views.

Feedback is always appreciated.

Keep on Groovying!
Andres Almiray

About Andres Almiray

Andres is a Java/Groovy developer and a Java Champion with more than 20 years of experience in software design and development. He has been involved in web and desktop application development since the early days of Java. Andres is a true believer in open source and has participated on popular projects like Groovy, Griffon, and DbUnit, as well as starting his own projects (Json-lib, EZMorph, GraphicsBuilder, JideBuilder). Founding member of the Griffon framework and Hackergarten community event. https://ch.linkedin.com/in/aalmiray

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »