FileDocCategorySizeDatePackage
FrameIcon.javaAPI DocExample483Sat Nov 25 12:55:12 GMT 2000None

FrameIcon

public class FrameIcon extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] av)
Demo main program, showing two ways to use it. Create a small MemImage and set it as this Frame's iconImage. Also display a larger version of the same image in the Frame.

		Frame f = new Frame("FrameIcon");
		Image im = 
			Toolkit.getDefaultToolkit().getImage("FrameIcon.gif");
		f.setIconImage(im);
		f.setSize(100, 100);
		f.setLocation(200, 200);
		f.setVisible(true);