g.drawRoundRect(r.x - 10, r.y - 10, r.width + 20, r.height + 20, 5, 5);