Displaying Dialog in Multiple Monitors

We operate in a trading environment where traders may have 6 monitors for a single PC......

Our apllication displays dialog boxes on a screen other than the one that the application is open on....

is there any way to keep the display dialogs with the application container...

And is there any way to find the number of monitors in JAVA...

[363 byte] By [carminer57a] at [2007-11-27 6:04:09]
# 1

> is there any way to keep the display dialogs with the application container...

I expect that dialog to open on the monitor in which the parent frame is on. But it would entirely depend on how you open it. Like a null parent will cause this, or doing setLocationRelativeTo(null) would as well, cuz it takes from the main monitor.

> And is there any way to find the number of monitors in JAVA...

GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices().length;

bsampieria at 2007-7-12 16:47:55 > top of Java-index,Desktop,Core GUI APIs...