From 8ba032d49c736206e84ce028d7da7988d01b7dc6 Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Mon, 31 Oct 2016 14:00:01 +0100 Subject: [PATCH] remove default dotted border from all SimpleColoredComponents (cherry picked from commit b95251f90677e6b868ff2910a2e55cef23c2d0ad) --- .../src/com/intellij/ui/SimpleColoredComponent.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/platform/platform-api/src/com/intellij/ui/SimpleColoredComponent.java b/platform/platform-api/src/com/intellij/ui/SimpleColoredComponent.java index 4d035cd990fb..54a5d5a46395 100644 --- a/platform/platform-api/src/com/intellij/ui/SimpleColoredComponent.java +++ b/platform/platform-api/src/com/intellij/ui/SimpleColoredComponent.java @@ -1005,8 +1005,6 @@ public class SimpleColoredComponent extends JComponent implements Accessible, Co @Override public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { - g.setColor(JBColor.foreground()); - UIUtil.drawDottedRectangle(g, x, y, x + width - 1, y + height - 1); } @Override @@ -1016,7 +1014,7 @@ public class SimpleColoredComponent extends JComponent implements Accessible, Co @Override public boolean isBorderOpaque() { - return true; + return false; } }