void (Component c, Graphics g, int x, int y) { GraphicsConfig config = GraphicsUtil.setupAAPainting(g); g.setColor(color); g.fillOval(x + 1, y + 1, 14, 14); g.setColor(ColorUtil.isDark(color) ? Gray.xFF.withAlpha(80) : Gray.x00.withAlpha(80)); g.drawOval(x + 1, y + 1, 14, 14); config.restore(); }