-
Bug
-
Resolution: Duplicate
-
P1
-
None
-
5.0
-
None
-
x86
-
windows_nt, windows_2000
JTextPane is completely unusable.
Its layout is broken, line wrapping doesn't work, and there are no highlights.
Compile and run the attached test (JTextPaneTest.java).
Click in the JTextPane and type "abc". Notice how the text is cut off and the caret overlaps where some text should be.
Type a whole bunch of text. Normally the JTextPane would wrap at the end of the line. It no longer does.
Try to highlight some text with the mouse. It doesn't work.
I've also seen exceptions, multiple carets, and overlapping text while playing with this demo.
Its layout is broken, line wrapping doesn't work, and there are no highlights.
Compile and run the attached test (JTextPaneTest.java).
Click in the JTextPane and type "abc". Notice how the text is cut off and the caret overlaps where some text should be.
Type a whole bunch of text. Normally the JTextPane would wrap at the end of the line. It no longer does.
Try to highlight some text with the mouse. It doesn't work.
I've also seen exceptions, multiple carets, and overlapping text while playing with this demo.
- duplicates
-
JDK-5066172 REGRESSION: Stylepad is broken
-
- Closed
-
-
JDK-5065189 REGRESSION: Cannot input Hindi & Thai in any Text Editing components
-
- Closed
-