Skip to main content

Release 70 causes flickering when mixing JOGL and Swing

2 replies [Last post]
kitfox
Offline
Joined: 2004-03-31

I've recently upgraded from Mustang 66 to Mustang 70. I noticed some bad flickering that wasn't there in a previous release, and wrote a small demo program to test things out.

When you create a GLCanvas and add it to you root panel (or a component that is nested within the root), it will display the rendering canvas as expected. If you then define a JPopup menu, set it's lightWeightEnabledPopup to false and show an instance of it over top of the viewport, half the time it will display rapidly flickering. Sometimes it will display steadily.

In release 66, I never observed this behavior.

Is there a work around?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kbr
Offline
Joined: 2003-06-16

Do you have a small test case?

It would probably be better to post issues related to JOGL on the JOGL forum:
http://www.javagaming.org/forums/index.php?board=25.0

I personally don't monitor this forum and the people from the client groups who do are unlikely to investigate problems reported involving JOGL.

kitfox
Offline
Joined: 2004-03-31

This flickering bug also applies to other components within the same window that the GLCanvas is mounted in. However, they only appear flicker when they are repainting.