views:

56

answers:

1

I have 4 Java applications rendering some AWT graphics. They all render to different X displays, which we configure at JVM startup time.

I would like to have them run from the same JVM. This way, I launch one Java app, and it will open up four screens, which render their stuff to different displays.

Is that possible in Java?

A: 

I had a similar question here. Could help you too.

Basically you need to instantiate your JFrame's with the graphics environment of each device from GraphicsEnvironment.getLocalGraphicsEnvironment().getDevices();

kd304