FileDocCategorySizeDatePackage
ButtonTest.javaAPI DocExample1154Mon Mar 24 02:02:44 GMT 1997None

TheButton

public class TheButton extends Button

Fields Summary
Constructors Summary
TheButton(String s)

        super (s);
    
Methods Summary
public booleanaction(java.awt.Event e, java.lang.Object o)

        if ("One".equals(o)) {
            System.out.println ("Do something for One");
        } else if ("Two".equals(o)) {
            System.out.println ("Ignore Two");
        } else if ("Three".equals(o)) {
            System.out.println ("Reverse Three");
        } else if ("Four".equals(o)) {
            System.out.println ("Four is the one");
        } else {
            return false;
        }
        return true;