< prev index next >

jdk/src/java.desktop/share/classes/java/awt/TextField.java

Print this page

        

*** 34,43 **** --- 34,45 ---- /** * A <code>TextField</code> object is a text component * that allows for the editing of a single line of text. + * If the input text contains new line character, + * it will be replaced by a space character. * <p> * For example, the following image depicts a frame with four * text fields of varying widths. Two of these text fields * display the predefined text <code>"Hello"</code>. * <p>
< prev index next >