|
I am trying to embed a GLJPanel in another panel in my application. It works fine when i try to place it in a frame, but not when I try to place it embedded in anything else, like a panel. I get this exception:
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Nativewindow X11 Error: Display 0x7fdce813e280, Code 0x3
at sun.awt.X11.XlibWrapper.XGetWindowProperty(Native Method)
at sun.awt.X11.WindowPropertyGetter.execute(WindowPropertyGetter.java:87)
at sun.awt.X11.MotifDnDDropTargetProtocol.isProtocolSupported(MotifDnDDropTargetProtocol.java:310)
at sun.awt.X11.XDropTargetRegistry.updateEmbedderDropSite(XDropTargetRegistry.java:307)
at sun.awt.X11.XDropTargetEventProcessor.doProcessEvent(XDropTargetEventProcessor.java:46)
at sun.awt.X11.XDropTargetEventProcessor.processEvent(XDropTargetEventProcessor.java:106)
at sun.awt.X11.XToolkit.run(XToolkit.java:557)
at sun.awt.X11.XToolkit.run(XToolkit.java:523)
at java.lang.Thread.run(Thread.java:619)
Anyone have any ideas?
|