Groodle updates & screencasts - No Fluff Just Stuff

Groodle updates & screencasts

Posted by: Andres Almiray on March 29, 2008

When I wrote Groodle #3 I mentioned that JavaFX had a better syntax to enable and handle dragging of a shape, GraphicsBuilder's version is definitely more verbose but allows you to drag shapes, images and groups. Well not anymore, now all displayable nodes have a new property autoDrag, that when set to true will allow dragging of said displayable. The actual code is exactly the same but it allows you to set additional behavior and react to a displayable being dragged. Groodle #3 can be updated as follows

I also updated the code to follow Joshy's version, now that dropShadow and reflection (from Swingx) are also available as filters, I can finally render a shadow whenever a piece of clothing is dragged. Instead of creating a new filter each time (as in the jfx version) the shadow filter's enabled state changes according to the situation.

Screencasts of all Groodles are available too (thanks to vnc2swf, I love being back to Linux)
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 »