@Deprecated
  protected RectangularShape getOuterShape(Rectangle r, float bw, float arc) {
    return new RoundRectangle2D.Float(bw, bw, r.width - bw * 2, r.height - bw * 2, arc, arc);
  }
@Deprecated
  protected RectangularShape getOuterShape(Rectangle r, float bw, float arc)