Logo Search packages:      
Sourcecode: wims version File versions  Download package

FormTextField.java

package rene.gui;


/**
A text field, which can transfer focus to the next text field,
when return is pressed.
*/

00009 public class FormTextField extends MyTextField
    implements DoActionListener
{     public FormTextField (String s)
      {     super();
            TextFieldActionListener T=
                new TextFieldActionListener(this,"");
            addActionListener(T);
            setText(s);
      }
      public void doAction (String o)
      {     transferFocus();
      }
      public void itemAction (String o, boolean flag) {}
}

Generated by  Doxygen 1.6.0   Back to index