Skip to Main Content

javafx with multiple monitors

awacs5Apr 21 2017 — edited Apr 23 2017

Hi,

I'm trying to see if javafx can start a new stage on each screen. Basically the computer has multiple monitors.

I used the Screen.getScreens() call to get a list of screens. But how do I set the stages to use these screens?

The getBounds() method of the screens are all of the same dimensions. The computer is linux based and so the desktop screens are not extended but separate.

With awt graphics I can get the offsets with multiple monitors when the desktop is extended but with javafx all the examples I find people just use the primary screen.

So does anyone know how to set a stage on a separate screen (not extended desktop)

Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on May 21 2017
Added on Apr 21 2017
2 comments
813 views