Thank you both:
@Erel: I tried "Project --> Build Standalone Package", the jar is generated but I still have:
Error: JavaFX runtime components are missing, and are required to run this application, in a command window.
but I noticed that there is 2 exe files in temp\build (92.5KB) and in temp\build\bin (266KB), both run well after double click.
@Magma: I tried:
"E:\install\dvd1\dev_soft\B4X\jdk-11.0.1\bin\javaw" --module-path "E:\install\dvd1\dev_soft\B4X\jdk-11.0.1\javafx\lib" -add-modules ALL-MODULE-PATH -jar ctrlgen.jar
I got :
View attachment 134764