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: Tue, 15 Nov 2005 23:08:20 +0000

Hi,

I put the paint() call in paintDoubleBuffered() inside a try-finally
block so that the flags are correctly cleaned up when an exception is
thrown in paint().

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

        * javax/swing/JComponent.java
        (paintDoubleBuffered): Put paint() call inside a try-finally
        block to correctly recover the double-buffering flag when
        an exception is thrown inside the paint() call.

/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

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