On Fri, 2006-05-05 at 13:59 +0200, Roman Kennke wrote:
> I was having a problem with an application that overrides setEnabled()
> and isEnabled() in a JCheckBox in an weird way, which ended up in an
> inconstisant state of JCheckBox.isEnabled() and
> JCheckBox.getButtonModel().isEnabled(). This caused a difference in how
> the JCheckBox is beeing painted (compared to the reference impl).
> Although this is clearly a bug in the application, I check this fix in
> anyway, since it makes the behaviour and the visual appearance more
> consistent, even in the broken situations. (the 'behaviour' part relies
> on the model, so should the painting do).
> 
> 2006-05-05  Roman Kennke <[EMAIL PROTECTED]>
> 
>         * javax/swing/plaf/basic/BasicRadioButtonUI.java
>         (paint): Query the button model for it's state, not the
>         button itself.
> 
> /Roman
> 

Committed to the release branch.
-- 
Andrew :)

Department of Computer Science
University of Sheffield

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to