Bug 185 - swapping out GLCanvas via setTopComponent blinks all components
Summary: swapping out GLCanvas via setTopComponent blinks all components
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
Depends on:
Reported: 2005-12-15 02:07 CET by Sven Gothel
Modified: 2010-03-24 07:48 CET (History)
0 users

See Also:
SCM Refs:
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:48:11 CET

---- Reported by wizumwalt 2005-12-15 02:07:48 ----

I have a nested JSplitPane and when calling setTopComponent() to a simple JPanel
on the inner splitpane, the component changes out very smoothly, so smooth in
fact that nothing else happens around it (like it should be). But when swapping
back to a JComponent of any  sort that contains a GLCanvas, not just both panes
of the inner JSplitPane, but both sides of the outter JSplitPane and everything
in the entire frame blinks.

This is noticable in the test case I made (once I figure out how to upload it),
but in a working application that is much bigger in complexity of components,
the blink is *very* noticable.

---- Additional Comments From kbr 2005-12-31 12:46:57 ----

Could you please attach the mentioned test case?

I suspect the problem is that you're not specifying -Dsun.java2d.noddraw=true on
the command line. This flag is required for all JOGL applications on Windows.

---- Additional Comments From kbr 2006-01-22 13:50:57 ----

In the absence of a test case I'm closing this bug report. Please reopen it if a
reproducible test case can be produced and attach said test case.

--- Bug imported by sgothel@jausoft.com 2010-03-24 07:48 EDT  ---

This bug was previously known as _bug_ 185 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=185