code: private void setRoundRect(int x, int y, int width, int height, int arcWidth, 
              int arcHeight) {
          if (this.roundRect == null) {
              this.roundRect = new RoundRectangle2D.Double(x, y, width, height, 
                      arcWidth, arcHeight);
          } else {
              this.roundRect.setRoundRect(x, y, width, height, 
                      arcWidth, arcHeight);
          }        
      }
docs: Sets the attributes of the reusable {@link RoundRectangle2D} object that
  is used by the {@link #drawRoundRect(int, int, int, int, int, int)} and
  {@link #fillRoundRect(int, int, int, int, int, int)} methods.
  
  @param x  the x-coordinate.
  @param y  the y-coordinate.
  @param width  the width.
  @param height  the height.
  @param arcWidth  the arc width.
  @param arcHeight  the arc height.