FileDocCategorySizeDatePackage
vertbag.javaAPI DocExample793Mon Mar 24 02:04:24 GMT 1997None

vertbag

public class vertbag extends Applet

Fields Summary
Constructors Summary
Methods Summary
public voidinit()

        String []fonts;
        setLayout (new VerticalBagLayout (10));
	fonts = Toolkit.getDefaultToolkit().getFontList();
	for (int i = 0; i < fonts.length; i++) {
            Button b = new Button (fonts[i]);
            b.setFont (new Font (fonts[i], Font.BOLD, (i*3)+10));
            add (b);
	}
        resize (preferredSize());