classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: JComponent fixlet


From: Roman Kennke
Subject: [cp-patches] FYI: JComponent fixlet
Date: Wed, 09 Nov 2005 14:45:13 +0000

I committed the attached fix that moves the getComponentGraphics() fetch
from paintComponent() to paint(). Some simple tests show that this is
the right thing and it also fixes a problem with an app I have here.

2005-11-09  Roman Kennke  <address@hidden>

        * javax/swing/JComponent.java
        (paint): Fetch a new componentGraphics here instead of
        paintComponent.
        (paintComponent): Don't fetch the componentGraphics here. This
        must be done in paint.

/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

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