Re: Repaint on switch from GLCanvas to Swing
Posted by karelknoes on Nov 22, 2013; 2:02pm
URL: https://forum.jogamp.org/Repaint-on-switch-from-GLCanvas-to-Swing-tp4030675p4030679.html
Ah, sorry... my original description was perhaps a bit too concise. The GLCanvas is indeed part of a JPanel, which again is added to the CardLayout. The screen area underneath the GLCanvas is the part that is not properly refreshed.
The use of sun.awt.noerasebackground=true/false also doesn't make a difference.