how to implement automatically resizeable GLwindow??


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…


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).