tags:

views:

97

answers:

2

The idea is to have one app displaying two diferent windows (Stages) one on each monitor, the app should know how many monitors the computer has and their resolution.

It is possible with javafx?

A: 

I am not familiar with JavaFX but if I am not mistaken it's JDK is sort of a superset of Java JDK.

the java.awt.GraphicsEnvironment class can be used to get the different graphics devices which the Graphics2D methods output to.

Sean A.O. Harney
+1  A: 

Yes, see the Screen class: http://java.sun.com/javafx/1.2/docs/api/javafx.stage/javafx.stage.Screen.html

Tor Norbye