In AbstractButton.init() we should call setText() instead of text = ...,
so that listeners on that property (especially in the UI) get notified
correctly.
2006-06-21 Roman Kennke [EMAIL PROTECTED]
* javax/swing/AbstractButton.java
(init): Call setText() instead of setting the
Disabled buttons should not be able to receive focus. I fixed this in
AbstractButton.setEnabled(). Note that this really is a button issue, in
general it is possible for disabled components to receive focus. This is
explicitly stated in the focus specification:
This prevents setEnabled() from getting active, if the actual value does
not change.
2005-10-18 Roman Kennke [EMAIL PROTECTED]
* javax/swing/AbstractButton.java
Filled empty blocks with comments.
(ButtonChangeListener.stateChanged): Moved implementation from