View Full Version : how to implement automatically resizeable GLwindow??

vamsee kanth
12-03-2004, 12:48 AM

iam working on java and opengl.for this i need an automatically resizeable openGL window in a java split pane.

i donot know how to do it??
plz help me.
any code would be highly useful..


12-03-2004, 08:32 AM
I'm assuming java has a callback functionality like most windowing api's. Whenever a window changes size(programatically or by user) some message/event should be sent to your callback function/class. When received make appropriate API calls(projection,viewport,scissor etc).