code: protected void paint(Graphics2D g, JComponent c, int width, int height, Color border, Color corner, Color interior) {
          int top  = (height - 2) / 2;
          int left = (width - 3) / 2 - 4;
  
          g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);
  
          g.setColor(interior);
          g.fillRect(left + 1, top + 1, 10, 3);
  
          g.setColor(border);
          g.drawLine(left + 1, top + 0, left + 9, top + 0);
          g.drawLine(left + 1, top + 4, left + 9, top + 4);
          g.drawLine(left + 0, top + 1, left + 0, top + 3);
          g.drawLine(left + 10, top + 1, left + 10, top + 3);
      }
docs: {@inheritDoc}