Blame |
Last modification |
View Log
| RSS feed
package rene.gui;
/**
A text field, which can transfer focus to the next text field,
when return is pressed.
*/
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
) {}
}