From: Kenneth B. R. <kbr...@al...> - 2003-08-18 17:25:57
|
> I've been trying for a while to use the X11HandleAccess class to retrieve > the window handle, but haven't been able to get it to work. > > I'm using Sun's Java version 1.4.2 on Redhat 9. Any help would be greatly > appreciated. Thanks. JDK 1.4 changed how the native window handle is represented in the Sun-internal code and the older reflective techniques now no longer work. It is necessary to use the JAWT for portability. Regardless, it shouldn't be necessary to fetch the underlying window handle as there isn't a lot you can usefully do with it, at least from Java. You may want to check out JOGL, http://jogl.dev.java.net/ , which has some newer functionality than GL4Java exposes and also happens to have all of its internals written in Java for easier tinkering. -Ken |