float strokeThickness = 5.0f;
BasicStroke stroke = new BasicStroke(strokeThickness);
Shape newShape = stroke.createStrokedShape(shape);
float strokeThickness = 5.0f;
BasicStroke stroke = new BasicStroke(strokeThickness);
Shape newShape = stroke.createStrokedShape(shape);