Relative Content

Tag Archive for javafxwindows-10

javyfX application does not run gui correctly if no monitor connected

I have developed an application in java, specifically under java 8 using the javaFx library. Ultimately, the application is to run on a small computer without a connected display, collect data from other parts of the system, save it and share it with other applications over ethernet. And, if necessary, be accessible via remote desktop solutions such as RustDesk. And while for application development everything works as expected, when I unplug the cable to the screen, the application gui visible in RustDesk stutters, and trying to restart the application ends up showing a black screen. When I plug the screen back in everything works as expected. I’ve tried using another remote desktop program such as AnyDesk and others, but I get exactly the same thing. Poking around in Windows 10 settings didn’t help either.
I tried to use other programs is remote desktop expecting that the problem lies there, unfortunately it did not help. I also changed the windows graphics settings, which unfortunately also had no effect.