How do you change the coffee cup icon that appears in the top corner of frames?
Created May 4, 2012
John Zukowski
The setIconImage() method of the Frame class permits you to alter the icon displayed.
Image image = ...; aFrame.setIconImage(image);See How do I display an Image in an Applet or Application? for how to load the image.