bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/28027] Wrong clip region in Swing repaints - overwrites other


From: roman at kennke dot org
Subject: [Bug swing/28027] Wrong clip region in Swing repaints - overwrites other components
Date: 15 Jun 2006 13:49:41 -0000


------- Comment #11 from roman at kennke dot org  2006-06-15 13:49 -------
I only can tell you what I assume from the mentioned stacktrace. You see that
paintImmediately() calls paintDoubleBuffered() which means to me, that the
actual painting takes place on the double buffer anyway. So I think you have
implemented case#2, which is the least efficient. If you wanna be sure, maybe
look at Sun's sources (I am not allowed to).

        at RubberbandTest.paint(RubberbandTest.java:110)
        at
javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)        at
javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
        at javax.swing.JComponent._paintImmediately(JComponent.java:4859)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4666)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28027





reply via email to

[Prev in Thread] Current Thread [Next in Thread]