Sets the icon to be displayed in the caption bar of the form.
public final void setIcon( Icon icon )
icon
An Icon object that specifies the icon to display.
See Also getIcon