-
Bug
-
Resolution: Fixed
-
P4
-
1.1.6, 1.2.0, 1.2.2
-
beta
-
generic, x86, sparc
-
generic, solaris_2.5.1, solaris_7, windows_95, windows_98, windows_nt
Name: el35337 Date: 06/03/98
Swing 1.0.2 - JDK 1.1.6 - Win 95/NT
I'll try again. It is quite simple and does
not need example code. You can try it with
SwingSet.
Select some text containing multiple lines.
For examples the following two lines:
This is line one
This is line two
Copy the text to the System-Clipboard (CTRL+C).
Open SwingSet and select the "Labels" Tab.
Select one of the JTextField.
Paste the text from the clipboard into the
TextField (using CTRL+V).
You will see: Two lines displayed in a one
line JTextField !
I think that the bug is in the default model
of JTextField (PlainDocument).
(Review ID: 32901)
======================================================================
- duplicates
-
JDK-4261746 TextField data is displayed in multi lines if mapped from the text of text area.
-
- Closed
-