12JavaFX Code Recipes
“As everybody knows, there is only one infallible recipe for the perfect omelette: your own.”
JavaFX code recipes are simple pieces of code that show how to tackle a unique coding problem. There are probably a million such recipes, we have chosen a few to detail in this chapter that are somewhat unique to the JavaFX environment.
The first section, JavaFX and JavaBeans, shows a way to bridge the JavaFX and JavaBeans frameworks. Next, the section on Server Call Back details how to deal with asynchronous call backs from a server. The Node Effects—Fader and Magnifier section demonstrates how to use generic classes for two common effects. Wizard shows how to implement the Wizard pattern for breaking a complex ...