diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aef677d..da160b7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ FlatLaf Change Log - Fixed color of `
` tag in HTML text. - IntelliJ Themes: Fixed table header background when dragging column in "Dark Flat" and "Light Flat" themes. +- CheckBox: Fixed background of check boxes in JIDE `CheckBoxTree`. (regression + in 1.0-rc2) ## 1.0-rc2 diff --git a/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatRadioButtonUI.java b/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatRadioButtonUI.java index 8d508988..14344717 100644 --- a/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatRadioButtonUI.java +++ b/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatRadioButtonUI.java @@ -123,7 +123,7 @@ public class FlatRadioButtonUI // - if background was explicitly set to a non-UIResource color if( !c.isOpaque() && ((AbstractButton)c).isContentAreaFilled() && - (c.getBackground() != defaultBackground) ) + !defaultBackground.equals( c.getBackground() ) ) { g.setColor( c.getBackground() ); g.fillRect( 0, 0, c.getWidth(), c.getHeight() );