-
Bug
-
Resolution: Fixed
-
P3
-
1.1.7, 1.2.0
-
1.2.2
-
x86, sparc
-
solaris_2.5.1, solaris_2.6, windows_95, windows_nt
The test
api/javax_swing/interactive/JTextAreaTests.html#JTextAreaTest0011
is meant to probe line wrapping in JTextAreas. There is a checkbox
in the test that enables the JTextArea feature that forces wrapping
to occur at word boundaries.
After starting the test, I selected the "Wrap at word boundaries"
check box. Then I entered the text:
0123456789012345678901 abcdef
into the JTextArea so that the right edge of the JTextArea is
just to the right of the 'f'. Typing a 'g' after the 'f' made the
contents of the JTextArea look like:
0123456789012345678901
g
This is the bug. Typing an 'h' after the 'g' made the JTextArea
contain two lines:
0123456789012345678901
abcdefg
which is what should be there.
allan.jacobs@Eng 1998-11-10
api/javax_swing/interactive/JTextAreaTests.html#JTextAreaTest0011
is meant to probe line wrapping in JTextAreas. There is a checkbox
in the test that enables the JTextArea feature that forces wrapping
to occur at word boundaries.
After starting the test, I selected the "Wrap at word boundaries"
check box. Then I entered the text:
0123456789012345678901 abcdef
into the JTextArea so that the right edge of the JTextArea is
just to the right of the 'f'. Typing a 'g' after the 'f' made the
contents of the JTextArea look like:
0123456789012345678901
g
This is the bug. Typing an 'h' after the 'g' made the JTextArea
contain two lines:
0123456789012345678901
abcdefg
which is what should be there.
allan.jacobs@Eng 1998-11-10
- duplicates
-
JDK-4138004 Swing-1.0.2 JTextArea buggy wrapping and deleting
-
- Closed
-
-
JDK-4187313 Paste of long line into JTextArea with wrap set does not repaint
-
- Closed
-