diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/spinner/DarkSpinnerUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/spinner/DarkSpinnerUI.java index b615ace2..c2aa1dad 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/spinner/DarkSpinnerUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/spinner/DarkSpinnerUI.java @@ -212,7 +212,8 @@ public class DarkSpinnerUI extends BasicSpinnerUI implements SpinnerConstants { boolean isCellEditor = SpinnerConstants.isTreeOrTableCellEditor(c); if (editorComponent != null) { - editorComponent.setBackground(bg); + PropertyUtil.installBackground(editorComponent, bg); + bg = editorComponent.getBackground(); } DividedWidgetPainter.paintBackground((Graphics2D) g, c, arc, arrowBounds, bg, spinBg, isCellEditor);