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!

How to use Dual Monitor in JavaFX2 ?

935688May 12 2012 — edited May 13 2012
I want to use Dual Monitor (Screen Device) in JavaFX2 Application.

In Java2SE , JFrame take GraphicsConfiguration arg.

GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice[] gs = ge.getScreenDevices();
GraphicsDevice gd = gs[0];
GraphicsConfiguration gc = gd.getDefaultConfiguration();
JFrame jf = new JFrame(gc);
......


How can I use Dual Monitor in JavaFX2 ?

Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 10 2012
Added on May 12 2012
3 comments
2,667 views