From bcefc56b840220f64cc3fb51d3ffb9395daa2cc6 Mon Sep 17 00:00:00 2001 From: Karl Tauber Date: Thu, 5 Sep 2019 11:33:53 +0200 Subject: [PATCH] FlatMenuArrowIcon: fixed field names --- .../java/com/formdev/flatlaf/icons/FlatMenuArrowIcon.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flatlaf-core/src/main/java/com/formdev/flatlaf/icons/FlatMenuArrowIcon.java b/flatlaf-core/src/main/java/com/formdev/flatlaf/icons/FlatMenuArrowIcon.java index f28ff905..f5141cfb 100644 --- a/flatlaf-core/src/main/java/com/formdev/flatlaf/icons/FlatMenuArrowIcon.java +++ b/flatlaf-core/src/main/java/com/formdev/flatlaf/icons/FlatMenuArrowIcon.java @@ -35,8 +35,8 @@ import javax.swing.UIManager; public class FlatMenuArrowIcon extends FlatAbstractIcon { - protected final Color checkmarkColor = UIManager.getColor( "Menu.icon.arrowColor" ); - protected final Color disabledCheckmarkColor = UIManager.getColor( "Menu.icon.disabledArrowColor" ); + protected final Color arrowColor = UIManager.getColor( "Menu.icon.arrowColor" ); + protected final Color disabledArrowColor = UIManager.getColor( "Menu.icon.disabledArrowColor" ); protected final Color selectionForeground = UIManager.getColor( "Menu.selectionForeground" ); public FlatMenuArrowIcon() { @@ -62,6 +62,6 @@ public class FlatMenuArrowIcon if( c instanceof JMenu && ((JMenu)c).isSelected() ) return selectionForeground; - return c.isEnabled() ? checkmarkColor : disabledCheckmarkColor; + return c.isEnabled() ? arrowColor : disabledArrowColor; } }