-
Bug
-
Resolution: Fixed
-
P3
-
7u67
-
b133
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8197338 | 8u192 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8195523 | 8u172 | Unassigned | P3 | Resolved | Fixed | b03 |
JDK-8190130 | 8u162 | Unassigned | P3 | Resolved | Fixed | b04 |
JDK-8183483 | 8u161 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8164027 | 8u152 | Mikhail Cherkasov | P3 | Resolved | Fixed | b01 |
JDK-8185231 | 8u144 | Unassigned | P3 | Resolved | Fixed | b31 |
JDK-8183080 | 8u141 | Unassigned | P3 | Resolved | Fixed | b31 |
JDK-8180797 | 8u131 | Ivan Gerasimov | P3 | Closed | Fixed | b33 |
JDK-8192429 | emb-8u161 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8164034 | 7u131 | Mikhail Cherkasov | P3 | Resolved | Fixed | b01 |
In Java 7 and 8, when you move a Java application to different monitor and
add a Component to a Container on another graphics device, without explicitly
removing the Component from its previous parent, the application crashes:
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.addImpl(Unknown Source)
at javax.swing.JTabbedPane.insertTab(Unknown Source)
at javax.swing.JTabbedPane.addTab(Unknown Source)
See this NetBeans issue for more details and sample code to reproduce:
http://netbeans.org/bugzilla/show_bug.cgi?id=222051
A workaround is turning off Direct3D.
This issue does not occur with Java 6.
- backported by
-
JDK-8164027 IllegalArgumentException: adding a component to a container on a different GraphicsDevice
-
- Resolved
-
-
JDK-8164034 IllegalArgumentException: adding a component to a container on a different GraphicsDevice
-
- Resolved
-
-
JDK-8183080 IllegalArgumentException: adding a component to a container on a different GraphicsDevice
-
- Resolved
-
-
JDK-8183483 IllegalArgumentException: adding a component to a container on a different GraphicsDevice
-
- Resolved
-
-
JDK-8185231 IllegalArgumentException: adding a component to a container on a different GraphicsDevice
-
- Resolved
-
-
JDK-8190130 IllegalArgumentException: adding a component to a container on a different GraphicsDevice
-
- Resolved
-
-
JDK-8192429 IllegalArgumentException: adding a component to a container on a different GraphicsDevice
-
- Resolved
-
-
JDK-8195523 IllegalArgumentException: adding a component to a container on a different GraphicsDevice
-
- Resolved
-
-
JDK-8197338 IllegalArgumentException: adding a component to a container on a different GraphicsDevice
-
- Resolved
-
-
JDK-8180797 IllegalArgumentException: adding a component to a container on a different GraphicsDevice
-
- Closed
-
- duplicates
-
JDK-8003398 IllegalArgumentException: adding a container to a container on a different GraphicsDevice
-
- Closed
-
- relates to
-
JDK-8164119 MoveToOtherScreenTest fails due wrong key attribute
-
- Resolved
-