getStyleSheet().getBoxPainter(getAttributes()).paint(g, rect.x, rect.y, rect.width, rect.height, this);
  public void paint(Graphics g, Shape a)  {    Rectangle rect = (Rectangle) a;    // FIXME: getStyleSheet().         // BoxPainter.paint(g, rect.x, rect.y, rect.width, rect.height, this);    super.paint(g, a);  }