diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/table/renderer/DarkTableCellEditorDelegate.java b/core/src/main/java/com/github/weisj/darklaf/ui/table/renderer/DarkTableCellEditorDelegate.java index f2dde9e6..f6802e09 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/table/renderer/DarkTableCellEditorDelegate.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/table/renderer/DarkTableCellEditorDelegate.java @@ -151,9 +151,9 @@ public class DarkTableCellEditorDelegate extends TableCellEditorDelegate { if (rendererComp instanceof JLabel && comp instanceof JComponent) { Icon icon = ((JLabel) rendererComp).getIcon(); if (icon != null) { - comp = iconWrapper; iconWrapper.init((JComponent) comp, icon, rendererComp.getComponentOrientation().isLeftToRight()); iconWrapper.setIconGap(((JLabel) rendererComp).getIconTextGap() - 1); + comp = iconWrapper; } } return comp;