Repaint flicker when mixing swing & heavyweight
I'm writing an application that uses JOGL, and so necessarily contains a
heavyweight component that extends Canvas. However, most of the
application uses Swing, including a component of my own design that
extends JComponent and has a complex repaint routine. While my
component works properly, when I move the mouse over it when the Canvas
is visible, it flickers rapidly between it's normal display and a blank
rectangle of the clear color.
What can I do to stabilize my component so it doesn't flicker?
To unsubscribe, send email to email@example.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
firstname.lastname@example.org and include in the body of the message "help".