code: protected void drawBorder (Graphics2D gfx, int x, int y)
      {
          // draw the black outer border
          gfx.setColor(Color.black);
          gfx.drawRoundRect(x, y, _size.width - 1, _size.height - 1, _dia, _dia);
      }
docs: Draws the black outer border.