Get how many monitors are connected.

Davide Perini perini.davide at dpsoftware.org
Fri Sep 3 14:06:48 UTC 2021


Hi,
I'm using this to get how many monitors is connected to the PC:

for (Screen screen : Screen.getScreens()) {


}


Is there a way to know what is the first, second and third monitor?
Using Windows and I would like to see what is the first monitor set in 
windows, what's the second and so on.

Is this possible using JavaFX?

Thanks
Davide



More information about the openjfx-dev mailing list