This example demonstrates how to place image icons on the vertices. The demo also shows how to extract the outline of the opaque part of a transparent image and create a java.awt.Shape. By doing so:

Be sure to try out the mouse listeners:

Picking Mode:

TransformingMode:

Both Modes: