Processing and JavaFX

Something else to try…

You could also copy the javafx.jar into the code folder in the sketch:

D:\Users\GLV\Documents\P4\libraries\javafx\library\javafx.jar 
// Location may be different on you PC

And you may not require the JavaFX library import:

import processing.javafx.*;

I have not tested all the cases so do some testing.

These worked with W10 and Processing 4.4.1:

Contents of code folder in sketch:

:)