Original Post
I've written some code that draws an OpenGL object to a jsplitpane which works really well. However, if I try and draw the object to the different panels, all the data is drawn to the same panel. It would appear the the data is associated to the same environment or canvas/panel. I've written a function on the C side and the jobject panel is the same for all instances. I assume that the jobject is the canvas, panel, drawing surface, which would explain why all the data is being drawn to the same Java panel. If it is possible I would like to pass the correct panel as a jobject through the JNI interface. Thanks David