Once you have defined a path's shape, you use the draw method to draw that path on an instance of Graphics2D, g:
draw
Graphics2D
g
g.draw(path);