FileDocCategorySizeDatePackage
labels.javaAPI DocExample732Mon Mar 24 02:02:54 GMT 1997None

labels

public class labels extends Applet

Fields Summary
Label
l
Constructors Summary
Methods Summary
public voidinit()

       String []fonts;
       fonts = Toolkit.getDefaultToolkit().getFontList();
       setLayout (new GridLayout (0,1));
       for (int i = 0; i < fonts.length; i++) {
           add (l = new Label (fonts[i], i % 3));
           l.setFont (new Font (fonts[i], Font.BOLD, 10+i*2));
       }