google-code-export / gtge

Automatically exported from code.google.com/p/gtge
2 stars 0 forks source link

Game crashes on 2nd monitor #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When opening an applet game when the browser is on the second monitor, it
crashes and gives me this error.

Game Exception on com.golden.gamedev.GameLoader
-----------------------------------------------
java.lang.IllegalArgumentException: adding a container to a container on a
different GraphicsDevice
    at java.awt.Component.checkGD(Unknown Source)
    at java.awt.Container.addImpl(Unknown Source)
    at java.awt.Container.add(Unknown Source)
    at com.golden.gamedev.engine.graphics.AppletMode.start(Unknown Source)
    at com.golden.gamedev.GameLoader.start(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Game Environment
----------------
Date/Time         : Fri, 18 Jul 2008 at 15:12
Java Version      : 1.6.0_02-b06 Sun Microsystems Inc.
GTGE Version      : 0.2.3
java.lang.StackOverflowError

Original issue reported on code.google.com by tyler...@gmail.com on 18 Jul 2008 at 7:23