Java3D is seeing the graphics configuration on both heads of the card, create an array of graphics devices (head[0], head[1]) and add components to them. I can send you example code if you cant find it anywhere.
Jean-Robert D'Amore wrote:
Hi,
I am using Java3D/OpenGL with a NVidia Quadro FX500 in dualView mode (two monitors). I have a problem when I extend my application's main window on the two monitors.
When I try to open one of my application document (JInternalFrame), then creating a new "Canvas3D" (each document being a single Virtual Universe), I have this error message :
java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice
Nevertheless, if I open my document while the main window only spreads on one monitor, and then I extend the window on the second monitor, and drag my document so that it is displayed on the second monitor, it works fine.
It looks like it is not due to Java3D but more to the swing JDesktopPane component.
Any clue anyway? How can I set the graphics configuration to use two monitors ?
Thanks
JR -- *D'Amore Jean-Robert* *IT Systems* *Bell Geospace Ltd.* Unit 5A, Crombie Lodge Aberdeen A.S.T.P Balgownie Drive Aberdeen AB228GU *Tel:* +44(0)1224227703 *Email:* [EMAIL PROTECTED]
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
-- Jack S.Gundrum Research Programmer Graduate Education and Research Services Academic Services and Emerging Technologies Information Technology Services Penn State University
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".