Bug 241 - Graphics Device error on dual-monitor setup
Summary: Graphics Device error on dual-monitor setup
Status: VERIFIED DUPLICATE of bug 316
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All linux
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2006-07-31 12:27 CEST by Sven Gothel
Modified: 2010-03-24 07:53 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:49:29 CET


---- Reported by thomahawk 2006-07-31 12:27:21 ----

Receive the following error:

java.lang.IllegalArgumentException: adding a container to a container on a
different GraphicsDevice
	at java.awt.Component.checkGD(Component.java:858)
	at java.awt.Container.addImpl(Container.java:1015)
	at java.awt.Container.add(Container.java:899)
	at demos.applets.GearsApplet.init(GearsApplet.java:22)
	at
com.sun.opengl.util.JOGLAppletLauncher.startSubApplet(JOGLAppletLauncher.java:721)
	at com.sun.opengl.util.JOGLAppletLauncher.access$700(JOGLAppletLauncher.java:117)
	at com.sun.opengl.util.JOGLAppletLauncher$2.run(JOGLAppletLauncher.java:685)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

...when I open firefox on a dual-monitor setup and move the firefox window onto
the second monitor.  Applications load by default onto the first monitor, so I
can't  find any workaround to make JOGL work on the second monitor.



---- Additional Comments From kbr 2007-10-18 23:14:37 ----

This has been fixed under Issue 316.


*** This issue has been marked as a duplicate of 316 ***



--- Bug imported by sgothel@jausoft.com 2010-03-24 07:49 EDT  ---

This bug was previously known as _bug_ 241 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=241

This bug was marked DUPLICATE 316 -> 241 in the database it was moved from, referencing the original with a higher ID than this.
Changing resolution to "MOVED"

Comment 1 Sven Gothel 2010-03-24 07:53:39 CET
Manual fix of duplicate

*** This bug has been marked as a duplicate of bug 316 ***