remove default dotted border from all SimpleColoredComponents

(cherry picked from commit b95251f90677e6b868ff2910a2e55cef23c2d0ad)
This commit is contained in:
Konstantin Bulenkov
2016-11-04 17:30:24 +01:00
parent 62827e8e0a
commit 8ba032d49c
@@ -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;
}
}