Login  Register

Re: Repaint on switch from GLCanvas to Swing

Posted by Sven Gothel on Nov 22, 2013; 4:03pm
URL: https://forum.jogamp.org/Repaint-on-switch-from-GLCanvas-to-Swing-tp4030675p4030680.html

On 11/22/2013 03:02 PM, karelknoes [via jogamp] wrote:
> 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.
>

We have to unit tests using JTabbedPanel and CardLayout:

TestBug816JTabbedPanelVisibilityB849B878AWT
TestAWTCardLayoutAnimatorStartStopBug532

(find them in our JOGL source code repo)

Pls copy the closest one and renaming it,
while modifying it to produce the artifacts.

Pls also add information as detailed in Wiki/FAQ/Bugreport.

Pls add all this in a bugreport.

Thank you.

~Sven




signature.asc (911 bytes) Download Attachment