JavaFX is used to develop graphical applications using Java.
open eclipse and do following operations -

click on Add then a pop up will open

then you will get this window

click on "type filter text"

in the filter type e(fx)clipse

Now review and click next

Accept terms and conditions and click next

then the package will start downloading

when the package will be installed, it will ask for a restart.
Follow the steps below to install JavaFX.
open eclipse and do following operations -

click on Add then a pop up will open

then you will get this window

click on "type filter text"

in the filter type e(fx)clipse

Now review and click next

Accept terms and conditions and click next

then the package will start downloading

when the package will be installed, it will ask for a restart.
Restart and your eclipse and you will get JavaFX installed on your Eclipse.