This is weird. It seems as if the IDE you are using is rather outdated. Please, make sure that the build contains changeset http://hg.netbeans.org/javafx/rev/798b6ea682f7
When I try to reproduce the problem on the trunk build everything works as expected.