How do I get the current screen details in JavaFX?

I have multiple monitors connected to my computer I can get the home screen from JavaFX But I need to know the screen details of the current screen on the stage How can I get it?

Solution

Try using getscreensforrectangle with the X, y, width, and height of the window

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>