This issue is already reported at - https://github.com/TestFX/Monocle/issues/83 and now it is reproducible even with latest versions of OpenJDK, OpenJFx and Monocle as below -
OpenJDk 17.0.10 OpenJfx 17.0.10 OpenJfx-Monocle 17.0.10 Any fix or workaround would be highly beneficial for the teams using TestFX with Headless for test automation Thanks Shankar