FileDocCategorySizeDatePackage
choicebox.javaAPI DocExample681Mon Mar 24 01:57:10 GMT 1997None

choicebox

public class choicebox extends Applet

Fields Summary
Constructors Summary
Methods Summary
public voidinit()


	String []fonts;

	fonts = Toolkit.getDefaultToolkit().getFontList();

	Choice c = new Choice();
	Choice b = new Choice();

	for (int i = 0; i < fonts.length; i++) {

		c.addItem (fonts[i]);
		b.addItem (fonts[i]);

	}

	add (c);
	add (b);