FileDocCategorySizeDatePackage
text13.javaAPI DocExample1105Mon Mar 24 02:04:48 GMT 1997None

TextFieldSetter

public class TextFieldSetter extends Object implements ActionListener

Fields Summary
TextField
tf
Constructors Summary
TextFieldSetter(TextField tf)

        this.tf = tf;
    
Methods Summary
public voidactionPerformed(java.awt.event.ActionEvent e)

        if (e.getActionCommand().equals ("Set")) {
            tf.setText ("Hello");
        }