3.4 OpenGL's Connection to the AWT

The Abstract Window Toolkit (AWT) is the windowing system of the java machine. The AWT is included in the standard java package. The AWT for Unix and MS-Windows uses native functions of the windowing system, to take advantages of the existing windowing system. To achieve the platform window-handle, we use the (since GL4Java Version 1.1.0) the following classes:

Of course, these classes are not explicit for user purposes, but they do provide us with interfaces to achieve the needed native window handle. We got this technique from Java3D's Canvas3D (decompiled it ...). You can see this implementation in:



sven goethel 2001-12-11