Created attachment 349 [details] Test case Works with the GLJPanel: java -cp /usr/share/java/jogl2.jar:/usr/share/java/gluegen2.jar:. -DGLJPanel=1 JScrollPaneExample Bug with GLCanvas: java -cp /usr/share/java/jogl2.jarusr/share/java/gluegen2.jar:. JScrollPaneExample Move the scrollbar, it will show clearly the issue. Fails with both rc5 and rc8 under Linux
It's a Swing / AWT heavyweight (hw) / lightweight (lw) issue as mentioned here: JScrollPane cannot mix hw/lw components, only if setting property '-Dsun.awt.disableMixing=true'. You can use ScrollPane, or maybe a slider and fwd the panning to the GLCanvas, which could change it's GL viewport accordingly. See git commit '8df12ca151dfc577c90b485d4ebfe491b88e55aa'. <http://jogamp.org/git/?p=jogl.git;a=blob;f=doc/NEWT.txt;h=c97d90e30a4bf70ff57e6bc6c2e7d9b036cae772;hb=8df12ca151dfc577c90b485d4ebfe491b88e55aa> http://jogamp.org/git/?p=jogl.git;a=commit;h=608a8aaee0da2d32eeb6f9b4efe9c34013efda31