Print at Dec 19, 2025, 2:05:18 PM View all posts in this thread on one page
Posted by crobusa at May 4, 2011, 8:02:24 AM
Error when loading Sweet Home 3D Online on dual monitors
java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice

Exception in thread "AWT-EventQueue-2" java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice
at java.awt.Component.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.addImpl(Unknown Source)
at javax.swing.JLayeredPane.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at javax.swing.JRootPane.setContentPane(Unknown Source)
at javax.swing.JApplet.setContentPane(Unknown Source)
at com.eteks.sweethome3d.applet.AppletApplication$1.collectionChanged(Unknown Source)
at com.eteks.sweethome3d.model.CollectionChangeSupport.fireCollectionChanged(Unknown Source)
at com.eteks.sweethome3d.model.HomeApplication.addHome(Unknown Source)
at com.eteks.sweethome3d.applet.AppletApplication$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


Thanks!

Charles

Posted by crobusa at May 4, 2011, 8:06:07 AM
Re: Error when loading Sweet Home 3D Online on dual monitors
Sorry for replying to own post, but can't find the edit button :)

Java 1.6.0_21 under Vista, both IE7 and Firefox 4.

Google led me to think it's dual monitor
http://www.java.net/node/654619

Thanks,

Posted by Puybaret at May 4, 2011, 9:58:09 AM
Re: Error when loading Sweet Home 3D Online on dual monitors
It's not easy for me to fix this because I don't have any way to test it myself.
Please, could you report this issue in bug tracker to be sure I won't forget it?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator