When performing some custom painting on a button\'s Graphics2D object, I get the following results:
Graphics2D
Why are you drawing so many rounded rectangles around the button? As far as I can see, the correct way to do this would be to use setStroke() API while drawing the kind of border you like.
setStroke()