JavaTextField.java

import java.applet.Applet;
import java.awt.*;

/** Lets the user enter the name of any
 *  good programming language. Or does it?
 *  


 *********************

public class JavaTextField extends Applet {
  public void init() {
    setFont(new Font("Serif", Font.BOLD, 14));
    setLayout(new GridLayout(2, 1));
    add(new Label("Enter a Good Programming Language",
                  Label.CENTER));
    LanguageField langField = new LanguageField();
    Font langFont = new Font("SansSerif", Font.BOLD, 18);
    langField.setFont(langFont);
    add(langField);
  }
}