public class Colores extends Applet implements ActionListener { int bgCode = 0; int txtCode=0; Fontf = newFont("Arial", Font.BOLD, 18);
public void init() { Button backButton = new Button("Color de Fondo"); add(backButton); backButton.setActionCommand("BKG"); backButton.addActionListener(this); }