Login  Register

NewtCanvasAWT flicker on resize

Posted by ariekenb on Nov 27, 2010; 10:35pm
URL: https://forum.jogamp.org/NewtCanvasAWT-flicker-on-resize-tp1979434.html

I am experimenting with putting NewtCanvasAWT inside a JInternalFrame and using many of them in an application.  This seems to work, but I notice when I resize the JInternalFrame the NewtCanvasAWT flickers badly and the contents disappear until I stop dragging.

If I use GLCanvas the resize is smooth as long as I set -Dsun.awt.noerasebackground=true.  sun.awt.noerasebackground seems to make no difference for NewtCanvasAWT - I think this is because it calls disableBackgroundErase itself.

Is this a known problem/limitation with NewtCanvasAWT?