Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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 on May 21 2017
Added on Apr 21 2017
2 comments
1,415 views