void (@NotNull Component c, Graphics g, int x, int y, int width, int height) { Insets insets = ((JComponent)c).getInsets(); g.setColor(UIUtil.CONTRAST_BORDER_COLOR); drawBorder((Graphics2D)g, x, y, width, height, insets); }