javaFX cryptic mixed syntax, why?