Original Post
Hi, i am writing an application containing both complicated GUI and complicated OpenGL rendering. When i heard about JNI i decided to do the GUI part in Java and the rendering in C++ (instead of all C++). I have just one problem: how do integrate the rendering window (which is probably a c++ one unless there's a way of using Java Canvas objects in c++ code)? Is there an 'official' way to do this? If not, how can i make sure the rendering window (would be the client area of a window in c++) stays at the right position and doesn't overlap my app's toolboxes and isn't overlapped by my app's mainframe? Is it positioned and or arranged according to the awt component that called for it's creation (guess not but you'll never know)? Thanks for any help!