This is done the same way you make thicker lines using drawLine, rinse and repeat. :)

// this makes a multi-pixel thick vertical line as x is being moved
// to make it horizontal add i to the y values instead of the x values.
for(int i=0; i< thickness;i++)
graphics.drawLine(x1+i, y1, x2+i, y2);

// here I am adding it to the x and width values
// however you might try adding to x and subtracting from W
// You may also want to do the same on the y & h values for different effects
for(int i=0; i< thickness;i++)
graphics.drawArc(x+i, y, w+i, h);

This is done the same way you make thicker lines using drawLine, rinse and repeat. :)

// this makes a multi-pixel thick vertical line as x is being moved

// to make it horizontal add i to the y values instead of the x values.

for(int i=0; i< thickness;i++)

graphics.drawLine(x1+i, y1, x2+i, y2);

// here I am adding it to the x and width values

// however you might try adding to x and subtracting from W

// You may also want to do the same on the y & h values for different effects

for(int i=0; i< thickness;i++)

graphics.drawArc(x+i, y, w+i, h);