In simple words Java
FX is a Framework built on a Java core for
visual effect programming.
It is the replacement for SWING. JFX actually uses a
Actionscript and other EX4-type languages. JFX provides a library (or set of
libraries) which contain classes, objects, and event handlers designed to
streamline the process of creating visual effects.