[Bug AWT/19838] New: Repaint-Loop due to setBackground()

hendrich at informatik dot uni-hamburg dot de gcc-bugzilla@gcc.gnu.org
Wed Feb 9 14:22:00 GMT 2005


Calls to setBackground() inside paint() cause an infinite repaint-loop,
because setBackground() unconditionally causes a repaint(). This does not
occur with JDK 1.1 .. 5.0

We might want to check whether the background color changes...

-- 
           Summary: Repaint-Loop due to setBackground()
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: AWT
        AssignedTo: fitzsim at redhat dot com
        ReportedBy: hendrich at informatik dot uni-hamburg dot de
                CC: fitzsim at redhat dot com,gcc-bugs at gcc dot gnu dot
                    org,java-prs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list