diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/combobox/DarkComboBoxUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/combobox/DarkComboBoxUI.java index 4aae48c5..55b1231c 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/combobox/DarkComboBoxUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/combobox/DarkComboBoxUI.java @@ -29,7 +29,6 @@ import java.awt.event.KeyEvent; import javax.swing.*; import javax.swing.border.Border; -import javax.swing.border.LineBorder; import javax.swing.plaf.ComponentUI; import javax.swing.plaf.basic.BasicComboBoxUI; import javax.swing.plaf.basic.ComboPopup; @@ -166,10 +165,6 @@ public class DarkComboBoxUI extends BasicComboBoxUI implements ComboBoxConstants protected ComboBoxEditor createEditor() { final ComboBoxEditor comboBoxEditor = super.createEditor(); Component comp = comboBoxEditor.getEditorComponent(); - if (comp instanceof JTextField) { - ((JTextField) comp).setColumns(0); - ((JTextField) comp).setBorder(new LineBorder(Color.RED)); - } comp.addKeyListener(new KeyAdapter() { @Override diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/table/DarkTableUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/table/DarkTableUI.java index bb4c4915..5dfc7ad8 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/table/DarkTableUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/table/DarkTableUI.java @@ -385,9 +385,6 @@ public class DarkTableUI extends DarkTableUIBridge implements TableConstants, Ha // Move to the where the cell has been dragged. vacatedColumnRect.x += dist; - g.setColor(Color.RED); - PaintUtil.drawRect(g, vacatedColumnRect); - boolean ltr = table.getComponentOrientation().isLeftToRight(); // Fill the background.