I am getting an exception on a dual monitor (ATI FIreGL X1 card) system that
I would like advice on handling.  I have a large scene graph that takes a
few seconds to create.  While it is being created, the enclosing window is
visible on the screen to show progress.  If I leave the window where it is
no problems arise.  If I move it from the left monitor (where it is created)
onto the right monitor before the scene is attached and visible in the
frame, I receive
java.lang.IllegalArgumentException: adding a container to a container on
a different GraphicsDevice

I understand that this is because the Container that was created has a
handle pointing to the first device and trying to attach to the container on
the other GraphicsDevice causes problems.

How can I best handle this?  Right now I catch the exception and show an
error message imploring the user to try again without moving the window but
it would preferable to handle the situation seamlessly by changing the
GraphicsDevice on the fly (I don't think I can do that).

Does anybody have any advice?  Unfortunately I am away from the only place I
can get this error at the moment, but I can give more details to the
stacktrace if they would help.

===========================================================================
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".

Reply via email to