< prev index next >
jdk/src/java.desktop/share/classes/java/awt/TextField.java
Print this page
@@ -34,10 +34,12 @@
/**
* 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 >