TextField

TextField is a component for simple single line in-place text editing. In LWUIT for Series 40 the TextField is very much like the TextArea, except it allows in-place editing also in the phones that do not support Nokia TextEditor (i.e., non-touch phones prior to Series 40 6th Edition) using a pure-LWUIT implementation of the TextField. The TextField inherits TextArea and its features. It also supports moving to the native text editor.

Example:

TextField textField = new TextField(“This is a text field”);

Figure: Editing TextField in S40 non-touch target