问题
I have multiple monitor connected with my PC. From javaFX I can get primary screen. But I need to know about the screen details of the screen the stage currently is. How can I get that?
回答1:
Try to use getScreensForRectangle with the x, y, width and height of your window.
来源:https://stackoverflow.com/questions/20176340/how-to-get-current-screen-details-in-javafx