hi all
i have strange affect using GLJPanel and jinternalframe
i add GLJPanel to jinternalframe and all work well but then i resize my main frame(JFrame) init() occur and i get new OpenGL context(as i understand) but if i resize jinternalframe i dont get init() method is called
in my app i have about 500 texture objects in one frame and to avoid unnecessary computation i cache them and
as a result, after each init() i lose them
also operation creating a new context is expensive enough to
why this hapening and any way to avoid init() method is called after main frame resized?
thx
ps. i use -Dsun.java2d.noddraw=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=true and jogl 1.1.1