[urgent] Is it a bug?

hi everyone:

Does anyone already used the “GLJPanel” component for mix rendering 2D & 3D. Here I encounter a weird problem, When I add the a GLJPanel to a JFrame, then I press keyboard with “ctrl + space”(i wanna to invoke Chinese input method). then application will no responding. Regardless how I drag the title bar or hit any key. it still no responding. and the application can only be destroyed by Windows task manager.(javaw.exe maybe cannot be died). But if I only type English characters(it means I dont press any key combination) it will be works fine.
I tried many ways, including reinstall other JRE version, and this problem aways happens. If I dont use GLJPanle, just normally Swing component, Input Chinese characters is Ok.

I have no idea about that. please help me.

thanks in advance.

Supplement:

Of course, I have added the JTextArea to Input words. Even no JTextArea, this issue still occur.

Please use the jstack tool that ships with the JDK to capture a stack trace from the JVM when it locks up like this and post the result.

Thank you Ken Russell.

I will try.

Hello,

I have exactly the same problem. My app has JCanvas. When I change keyboard language then the app hangs.
I reproduced this error with vanilla jogl-demos with jogl 1.1.1

steps:
Windows XP SP2 and/or 3
Java JRE 6 (u0 … u10)
java -classpath Jogl-Demos.jar;jogl.jar;gluegen-rt.jar demos.jrefract.JRefract
open menu, run Gears.
switch language keyboard input via keyboard shortcut.
app hangs

in my case I change the keyboard via Alt+Shift. I can always reproduce it. It is not random.

If the java app has no jogl then it is OK.

I have found (in MS Spy++) that Windows sends WM_INPUTLANGUAGECHANGE message to OpenGL JoGL canvas window.

The jstack does not reveal any problems. The stack is little bit different each time the app hangs.
See attachment for jstack output

I can try a lot if someone gives me some clue. I can both C++ debugger or/and Java debugger.

Thanks
Marek

Are you specifying -Dsun.java2d.noddraw=true on the command line? This is required for correct operation of JOGL apps on Windows.

Yes I do.
Setting sun.java2d.noddraw to true has no effect on this.

the funny think is that not all computer exhibits this problem. I’ve tried to reproduce it on 6 computers.
2 of them are OK, on 4 the app hangs. Plus one computer is dual boot. In MS Vista it is OK, in XP SP3 it hangs.

Given that the DirectDraw / Direct3D code in Java 2D is disabled, it’s hard to guess how JOGL could be causing this hang. Your thread dumps all look OK so the hang is probably in the AWT toolkit thread, on which user code is not allowed to run, so maybe there is interference between the AWT native interface and the work being done on the AWT toolkit thread. If you have a test case it would be good if you could file a bug against the AWT on http://bugs.sun.com/ .