Paints the overlay icon.
a Component to get properties useful for painting
the graphics context
the X coordinate of the icon's top-left corner
the Y coordinate of the icon's top-left corner