paintIcon

open override fun paintIcon(c: Component?, g: Graphics?, x: Int, y: Int)(source)

Paints the overlay icon.

Parameters

c

a Component to get properties useful for painting

g

the graphics context

x

the X coordinate of the icon's top-left corner

y

the Y coordinate of the icon's top-left corner