updating window content while resizing

hello,

i have a basic jogl/awt window and when i resize the window the opengl context only gets updated after i release the mousebutton.

how can i call the reshape function while the window is resized? that means while the mouse button is holded down and the height and width of the window is changed.

thank you!

Call Toolkit.getDefaultToolkit().setDynamicLayout(true).

thanks!

this works, although it flickers quite a bit during the resizing.

Try setting -Dsun.java2d.noddraw=true on the commandline when starting your app.

thanks, but that did not remove the flicker when resizing the window.

but i found something that helped here:
http://java-gaming.org/forums/index.php?topic=8770.0