mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove default dotted border from all SimpleColoredComponents
(cherry picked from commit b95251f90677e6b868ff2910a2e55cef23c2d0ad)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user