At the heart of JavaFX is its scenegraph, a structure that includes (perhaps many) nodes. The JavaFX rendering engine displays these nodes and ultimately what you see depends on the properties of these nodes. Properties are oh-so-important. They make a Circle red or a Rectangle 50 pixels wide. They determine the gradient for a background […]
Monthly Archives: November 2011
Adding Animation with JavaFX: Spicing Up a Clear
We return to the same drawing program we described in two previous posts, Sketch Pad: Custom Binding and JavaFX Sketch Pad: Version 2. In this third version, we’re going to spice up the Clear button by animating a fade. That is, when a user clicks Clear, the drawing elements fade out, one at a time […]