how can i program as do{} in javaFX daily version ?