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

// This appears in Core Web Programming from
// Prentice Hall Publishers, and may be freely used
// or adapted. 1997 Marty Hall, hall@apl.jhu.edu.

public class ColorChoiceTest extends Applet {
  private Choice choice;

  public void init() {
    setFont(new Font("Helvetica", Font.BOLD, 36));
    add(new Label("Red FG on Yellow BG"));
    choice = new Choice();
    choice.setForeground(Color.red);
    choice.setBackground(Color.yellow);
    choice.addItem("Choice 1");
    choice.addItem("Choice 2");
    choice.addItem("Choice 3");
    add(choice);
  }

 
}
  

