import java.applet.*;
import java.awt.*;
import java.awt.event.*;

public class FontTest extends Applet  {
  static final String message = "ÅÄÖåäö";
  private String FontNames[] = {"Helvetica"," Courier", "TimesRoman", "Dialog", "DialogInput", "Serif", "SansSerif", "Monospaced"};
  private int FontTypes[] = {Font.PLAIN, Font.ITALIC, Font.BOLD, Font.BOLD+Font.ITALIC};
  private String FontTypeNames[] = {"Plain", "Italic", "Bold", "Bold+Italic"};

  public void init() {
    for (int i=0; i < 8; i++)
      for (int j=0; j < 4; j++) {
	Font font = new Font(FontNames[i], FontTypes[j], 12);
        TextField tf = new TextField(FontNames[i] + " " + FontTypeNames[j] +
				     ": " + message);
	add(tf);
	tf.setFont(font);
      }
  }
}
