[cp-patches] FYI: AbstractButton fixlet

2006-06-21 Thread Roman Kennke
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

[cp-patches] FYI: AbstractButton fixlet

2005-11-14 Thread Roman Kennke
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:

[cp-patches] FYI: AbstractButton fixlet

2005-10-18 Thread Roman Kennke
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