JavaFX and the NetBeans Platform

We have just returned from JavaOne 2012 in San Francisco, energized with the prominence of both JavaFX and NetBeans talks. In particular, the NetBeans Platform enjoyed recognition during NetBeans Day and also in many sessions at JavaOne. One of these sessions was ours: Make Your Clients Richer: JavaFX and the NetBeans Platform. In this session […]

JavaFX: Properties on Steroids

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 […]

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 […]

JavaFX Sketch Pad: Version 2

In our previous post we presented a JavaFX Sketch Pad example that uses three RGB sliders to manipulate a drawing line’s color. In this post, we’ll use a color picker made with all the JavaFX built-in colors. Since JavaFX colors are are static fields with familiar (and maybe not so familiar) names like BLUE, GREEN, […]

JavaFX Sketch Pad: Custom Binding

Sketch pad programs are fun to build and fun to test. And writing a sketch pad program in JavaFX is no different, except that maybe it’s more fun. So, what constructs do we need to create a decent sketch pad program in JavaFX? At the minimum, we need to Detect mouse events for mouse click, […]