Window handle in JAWT

2000-11-17 Thread aking
I'm using the JAWT from 1.3 to do some native drawing. Under windows, getting the handle to the window is easy: dsi_win32 = (JAWT_Win32DrawingSurfaceInfo*)dsi->platformInfo; glHDC = dsi_win32->hdc; glHWnd = dsi_win32->hwnd; I'm also working on a Linux version, however, I need the

Bug with keyPressed/keyReleased

1998-07-16 Thread aking
There seems to be a bug with keyboard handling in all version of the JDK for linux with respect to KeyEvents. The following small java program demonstrates the problem. Basically, when a key is pressed, and held down multiple keyPressed/keyReleased events are generated, when only a keyPressed e