Java Reference
In-Depth Information
F
Set timeline's frame rate
—when you are working with fairly complex animations, you
can provide better directives for frames generated by specifying the
framerate
property. If not, the engine will attempt to determine the best frame rate value to
achieve the animation, which can result in wasted frames being generated.
F
Use binding sparingly
—data binding is a useful and a killer feature in JavaFX. Just
like anything else though, its unnecessary overuse can be troublesome. Improper or
careless binding can lead to cascading triggers that causes unwanted performance
degradation that are hard to find. Use data binding only when you understand the
event path and values that are updated during binding update. In most cases,
updating a variable directly by setting its value works better.

