How to get current screen information in javafx?

I have several monitors connected to a computer. From javaFX I can get the main screen. But I need to know about the details of the screen of the screen on which it is currently located. How can i get this?

+7
source share
1 answer

Try using getScreensForRectangle with the x, y, width and height of your window.

+5
source

Source: https://habr.com/ru/post/958727/


All Articles