Processing and JavaFX

This example did not work with Windows 10 and Processing 4.4.10 using your simple way:
JavaFX Controls Preview

And required these in the sketch folder:

Also required:

import processing.javafx.*; // Required

The other imports I can resolve as required.

Your simpler way works for the example you provided here:
Processing and JavaFX - #9 by svan

Does it work with all your other examples for Windows 11?

:)