FileDocCategorySizeDatePackage
TextAreaNew.javaAPI DocExample4569Mon Apr 06 18:10:22 BST 1998None

TextAreaNew

public class TextAreaNew extends Applet

Fields Summary
Button
b1
Button
b2
Button
b3
Button
b4
TextArea
t1
TextArea
t2
TextArea
t3
TextArea
t4
TextArea
t5
TextArea
t6
Constructors Summary
Methods Summary
public voidinit()

     
    b1.addActionListener(new B1L());
    add(b1);
    add(t1);
    b2.addActionListener(new B2L());
    add(b2);
    add(t2);
    b3.addActionListener(new B3L());
    add(b3);
    b4.addActionListener(new B4L());
    add(b4);
    add(t3); add(t4); add(t5); add(t6);
  
public static voidmain(java.lang.String[] args)

    TextAreaNew applet = new TextAreaNew();
    Frame aFrame = new Frame("TextAreaNew");
    aFrame.addWindowListener(
      new WindowAdapter() {
        public void windowClosing(WindowEvent e) {
          System.exit(0);
        }
      });
    aFrame.add(applet, BorderLayout.CENTER);
    aFrame.setSize(300,725);
    applet.init();
    applet.start();
    aFrame.setVisible(true);