classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: AbstractButton fixlet


From: Roman Kennke
Subject: [cp-patches] FYI: AbstractButton fixlet
Date: Tue, 18 Oct 2005 13:43:17 +0000

This prevents setEnabled() from getting active, if the actual value does
not change.

2005-10-18  Roman Kennke  <address@hidden>

        * javax/swing/AbstractButton.java
        Filled empty blocks with comments.
        (ButtonChangeListener.stateChanged): Moved implementation from
        inner class in createChangeListener to this protected class.
        (setEnabled): Do nothing if actual state does not change.
        (createChangeListener): Return instance of ButtonChangeListener
        here.

/Roman

Attachment: AbstractButton.diff
Description: Text Data


reply via email to

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