-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
x86
-
windows_nt
Testing with Merlin beta3 b83 on Winodws, the problem that an extra space is displayed at the end of line of loaded text by opening a file on JTextArea is found.
I tested on Windows 98, NT, ME and 2000 and it is reproducible on all machines.
This is reproducible also with Merlin beta-refresh.
This is not reproducible with Ladybird.
To reproduce,
1. Compile attached program, JTextAreaTest.java and UIManager.java
2. Launch JTextAreaTest on Windows.
3. Select File->Open and open an attached text file, Notpad-text.txt.
Then, you can see an extra space is dispalyed to at the end of line of loaded text except the last line.
If you put a cursol at the position after the extra space(, that is, at the end of line) and press "BackSpace" to erace the space, it can not be eraced and it remains left and the last character is eraced.
If you put a cursol at the position after the extra space(, that is, at the end of line) and input a character, the character is displayed at the position before the space and follows the last character of the line.
- duplicates
-
JDK-4517298 Metrics and display of control characters are inconsistent
-
- Closed
-